Sha256: d3e7bfd076a62555f2b8df9e2ad745dbf8d6ac95dc11ed21085d4ebd15bfb1ed

Contents?: true

Size: 361 Bytes

Versions: 8

Compression:

Stored size: 361 Bytes

Contents

'use strict';
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var method = require('../array/virtual/to-sorted');

var ArrayPrototype = Array.prototype;

module.exports = function (it) {
  var own = it.toSorted;
  return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.toSorted)) ? method : own;
};

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/actual/instance/to-sorted.js
decidim-0.26.10 packages/webpacker/node_modules/core-js/es/instance/to-sorted.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/actual/instance/to-sorted.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/es/instance/to-sorted.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/es/instance/to-sorted.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/actual/instance/to-sorted.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/actual/instance/to-sorted.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/es/instance/to-sorted.js