type {}
type {}
type {}A frozen object that consists of is, are, and guard objects.
const type = Object.freeze({
are,
is,
guard
});Properties
are
areThe object consists of are functions.
guard
guardThe object consists of guard functions.
is
isThe object consists of is functions.
Example usage
Last updated
Was this helpful?