Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/typebox/src/value/guard/guard.ts

Json Schema Type Builder with Static Type Resolution for TypeScript
Latest
import * as typebox from "https://deno.land/x/typebox@0.32.34/src/value/guard/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 the value is a BigInt64Array

Returns true if the value is a BigUint64Array

Returns true if this value is an boolean

Returns true if this value is a Date

Returns true if the value is a Float32Array

Returns true if the value is a Float64Array

Returns true if this value is a function

Returns true if this value is an instance of a class

Returns true if the value is a Int16Array

Returns true if the value is a Int32Array

Returns true if the value is a Int8Array

Returns true if this value is an integer

Returns true if this value is an iterator

Returns true if this value is an instance of Map<K, T>

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 value is a Promise

Returns true if this value is RegExp

Returns true if this value is an instance of Set

Returns true if this value is not an instance of a class

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 Uint16Array

Returns true if the value is a Uint32Array

Returns true if the value is a Uint8Array

Returns true if the value is a Uint8ClampedArray

Returns true if this value is an undefined

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