mapkeep
Returns an array of the non-null results of This means false return values will be included /** * Returns an array of the non-null/undefined results of fn(item, index). * This means false return values will be included. * * @param * @param * @param * * @return */ { }
Install
npm i -S mapkeep
Usage
var assert = ;var mapkeep = ; { return { return okey; };} var arr = a: 1 a: 3 b: 4 ; // will call `obj[key]` for each val where the key is `a`var allAVals = ;assert;