Sha256: ee5b25fd5fee3a9c656dec5b5ed49095bfb7bab7b610bdca413780ceaa621459
Contents?: true
Size: 346 Bytes
Versions: 4
Compression:
Stored size: 346 Bytes
Contents
'use strict'; var isPrototypeOf = require('../../internals/object-is-prototype-of'); var method = require('../array/virtual/flat'); var ArrayPrototype = Array.prototype; module.exports = function (it) { var own = it.flat; return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.flat) ? method : own; };
Version data entries
4 entries across 4 versions & 1 rubygems