| import cb from './_cb.js'; | |
| import keys from './keys.js'; | |
| // Returns the first key on an object that passes a truth test. | |
| export default function findKey(obj, predicate, context) { | |
| predicate = cb(predicate, context); | |
| var _keys = keys(obj), key; | |
| for (var i = 0, length = _keys.length; i < length; i++) { | |
| key = _keys[i]; | |
| if (predicate(obj[key], key, obj)) return key; | |
| } | |
| } | |
Xet Storage Details
- Size:
- 386 Bytes
- Xet hash:
- 3326a013f3d36fad92d1580166b5236fe6884aa2aa635ebef9a754b53c8dcfcc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.