Skip to content

Commit 8959798

Browse files
committed
Binary as 'Uint32Array'
Signed-off-by: Fabio José <[email protected]>
1 parent cf701e4 commit 8959798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/fun.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const isDefined = (v) => v && (typeof v) != "undefined";
66
const isBoolean = (v) => (typeof v) === "boolean";
77
const isInteger = (v) => Number.isInteger(v);
88
const isDate = (v) => (v instanceof Date);
9-
const isBinary = (v) => (v instanceof ArrayBuffer);
9+
const isBinary = (v) => (v instanceof Uint32Array);
1010

1111
const isStringOrThrow = (v, t) =>
1212
(isString(v)

0 commit comments

Comments
 (0)