Sha256: 0554aff6f362403bfd2b562249e36cb87fc6f50cef8d28e921e240d72e2e11f7

Contents?: true

Size: 356 Bytes

Versions: 4

Compression:

Stored size: 356 Bytes

Contents

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

var ArrayPrototype = Array.prototype;

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/actual/instance/group-by.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/actual/instance/group-by.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/actual/instance/group-by.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/actual/instance/group-by.js