Binary as 'Uint32Array'

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-11-04 10:47:11 -03:00
parent cf701e423c
commit 89597985ba
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const isDefined = (v) => v && (typeof v) != "undefined";
const isBoolean = (v) => (typeof v) === "boolean";
const isInteger = (v) => Number.isInteger(v);
const isDate = (v) => (v instanceof Date);
const isBinary = (v) => (v instanceof ArrayBuffer);
const isBinary = (v) => (v instanceof Uint32Array);
const isStringOrThrow = (v, t) =>
(isString(v)