Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typebox_deno/src/value/guard.ts

JSON Schema Type Builder with Static Type Resolution for TypeScript
Latest
import * as typeboxDeno from "https://deno.land/x/typebox_deno@0.31.22/src/value/guard.ts";

Functions

Returns true if this value has this property key

Returns true if this value is an array, but not a typed array

Returns true if this value is an async iterator

Returns true if this value is bigint

Returns true if this value is an boolean

Returns true if this value is a Date

Returns true if this value is a function

Returns true if this value is an integer

Returns true if this value is an iterator

Returns true if this value is an null

Returns true if this value is an number

Returns true of this value is an object type

Returns true if this object is not an instance of any other type

Returns true if this value is a Promise

Returns true if this value is string

Returns true if this value is a symbol

Returns true if this value is a typed array

Returns true if the value is a Uint8Array

Returns true if this value is an undefined

Returns true if this value is a value type such as number, string, boolean