import { type } from "https://deno.land/x/abstruct@1.0.0-beta.12/bindings.ts";
Validator factory for JavaScript data type.
The difference with typeof
operator is that "object"
does not match null
.
Type Parameters
T extends TypeStr
Parameters
of: T