Binary as 'Uint32Array'
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
cf701e423c
commit
89597985ba
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue