Sha256: 08735e2dff19c0ea1dda0fc4758a12b7820a4cbd7a40855df39141aa620b8091
Contents?: true
Size: 301 Bytes
Versions: 69
Compression:
Stored size: 301 Bytes
Contents
define(['./findLastIndex'], function (findLastIndex) { /** * Returns last item that matches criteria */ function findLast(arr, iterator, thisObj){ var idx = findLastIndex(arr, iterator, thisObj); return idx >= 0? arr[idx] : void(0); } return findLast; });
Version data entries
69 entries across 69 versions & 2 rubygems