UNPKG

imma

Version:

A collection of functions for dealing with native arrays and objects immutably

8 lines (6 loc) 192 B
'use strict' const findLastEntry = require('./findEntry') const findLast = module.exports = (object, fn) => { const result = findLastEntry(object, fn) return result && result[1] }