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