@react-navigation/stack
Version:
Stack navigator component for iOS and Android with animated transitions and gestures
15 lines (14 loc) • 321 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.findLastIndex = findLastIndex;
function findLastIndex(array, callback) {
for (let i = array.length - 1; i >= 0; i--) {
if (callback(array[i])) {
return i;
}
}
return -1;
}
//# sourceMappingURL=findLastIndex.js.map