tahamajs's picture
download
raw
408 Bytes
define(['./_cb', './keys'], function (_cb, keys) {
// Returns the first key on an object that passes a truth test.
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;
}
}
return findKey;
});

Xet Storage Details

Size:
408 Bytes
·
Xet hash:
626dd6b79b7e0d34085d51a88ab8dfbd3477d31244c0fb203bd310d40059c316

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.