ktongue's picture
download
raw
332 Bytes
export default function(a, b) {
if (!b) b = [];
var n = a ? Math.min(b.length, a.length) : 0,
c = b.slice(),
i;
return function(t) {
for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;
return c;
};
}
export function isNumberArray(x) {
return ArrayBuffer.isView(x) && !(x instanceof DataView);
}

Xet Storage Details

Size:
332 Bytes
·
Xet hash:
d6af7fba1a0aa2d4f85ad36f38c18172d74d5e0fdfd538da1a90bb3bc59438a9

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