swc/crates/swc_bundler/tests/.cache/deno/42140bb9db97b9833ffe296d1d49bf929feb6553.ts
2021-11-09 20:42:49 +09:00

12 lines
293 B
TypeScript

// Loaded from https://deno.land/x/validasaur/src/rules/is_array.ts
import type { Validity } from "../types.ts";
import { invalid } from "../utils.ts";
export function isArray(value: any): Validity {
if (false === value instanceof Array) {
return invalid("isArray", { value });
}
}