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