Sha256: a73eaff29392a334fd3df0bb4eeb9389dcc3f5ffc067e2e8a5615249a68379d0
Contents?: true
Size: 269 Bytes
Versions: 36
Compression:
Stored size: 269 Bytes
Contents
var findIndex = require('../array/virtual/find-index'); var ArrayPrototype = Array.prototype; module.exports = function (it) { var own = it.findIndex; return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.findIndex) ? findIndex : own; };
Version data entries
36 entries across 35 versions & 9 rubygems