Sha256: b0f101c68b1890bc74adc0917bc9b6762955d0eb1c778c0d281ac4ca7f20f9b3

Contents?: true

Size: 264 Bytes

Versions: 11

Compression:

Stored size: 264 Bytes

Contents

var uniqueBy = require('../array/virtual/unique-by');

var ArrayPrototype = Array.prototype;

module.exports = function (it) {
  var own = it.uniqueBy;
  return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.uniqueBy) ? uniqueBy : own;
};

Version data entries

11 entries across 10 versions & 3 rubygems

Version Path
disco_app-0.16.1 test/dummy/node_modules/core-js/features/instance/unique-by.js
disco_app-0.15.2 test/dummy/node_modules/core-js/features/instance/unique-by.js
disco_app-0.18.4 test/dummy/node_modules/core-js/features/instance/unique-by.js
disco_app-0.18.1 test/dummy/node_modules/core-js/features/instance/unique-by.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/core-js/features/instance/unique-by.js
disco_app-0.14.0 test/dummy/node_modules/core-js/features/instance/unique-by.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/core-js/features/instance/unique-by.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/core-js/features/instance/unique-by.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/core-js/features/instance/unique-by.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/core-js/features/instance/unique-by.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/core-js/features/instance/unique-by.js