1 var isPrototypeOf = require('../../internals/object-is-prototype-of');
2 var method = require('../array/virtual/find-last-index');
4 var ArrayPrototype = Array.prototype;
6 module.exports = function (it) {
7 var own = it.findLastIndex;
8 return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLastIndex) ? method : own;