| define(['./_isArrayLike', './findIndex', './findKey'], function (_isArrayLike, findIndex, findKey) { | |
| // Return the first value which passes a truth test. | |
| function find(obj, predicate, context) { | |
| var keyFinder = _isArrayLike(obj) ? findIndex : findKey; | |
| var key = keyFinder(obj, predicate, context); | |
| if (key !== void 0 && key !== -1) return obj[key]; | |
| } | |
| return find; | |
| }); | |
Xet Storage Details
- Size:
- 391 Bytes
- Xet hash:
- be56d27141bb68ac4d207a7a13d516cc428b86f18f93d156104382607d2a2153
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.