We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf701e4 commit 8959798Copy full SHA for 8959798
lib/utils/fun.js
@@ -6,7 +6,7 @@ const isDefined = (v) => v && (typeof v) != "undefined";
6
const isBoolean = (v) => (typeof v) === "boolean";
7
const isInteger = (v) => Number.isInteger(v);
8
const isDate = (v) => (v instanceof Date);
9
-const isBinary = (v) => (v instanceof ArrayBuffer);
+const isBinary = (v) => (v instanceof Uint32Array);
10
11
const isStringOrThrow = (v, t) =>
12
(isString(v)
0 commit comments