Quantumbraid's picture
download
raw
407 Bytes
import _typeof from "./typeof.js";
function toPrimitive(t, r) {
if ("object" != _typeof(t) || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != _typeof(i)) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
export { toPrimitive as default };

Xet Storage Details

Size:
407 Bytes
·
Xet hash:
80d10767c739ce986f5797f1f350f5353022b50db922bb1badae7298bf47c169

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