You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
412 B
13 lines
412 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.isBytes = isBytes;
|
|
function isBytes(value) {
|
|
if (!value)
|
|
return false;
|
|
if (typeof value !== 'object')
|
|
return false;
|
|
if (!('BYTES_PER_ELEMENT' in value))
|
|
return false;
|
|
return (value.BYTES_PER_ELEMENT === 1 && value.constructor.name === 'Uint8Array');
|
|
}
|
|
//# sourceMappingURL=isBytes.js.map
|