tahamajs's picture
download
raw
447 Bytes
define(['./keys'], function (keys) {
// Returns whether an object has a given set of `key:value` pairs.
function isMatch(object, attrs) {
var _keys = keys(attrs), length = _keys.length;
if (object == null) return !length;
var obj = Object(object);
for (var i = 0; i < length; i++) {
var key = _keys[i];
if (attrs[key] !== obj[key] || !(key in obj)) return false;
}
return true;
}
return isMatch;
});

Xet Storage Details

Size:
447 Bytes
·
Xet hash:
83eeda7bf7d928bc35f20baaaacf5f1b66edd3cc4b9a5815bb431374c4c1ad24

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