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

x/typebox_deno/src/value/guard.ts>IsBoolean

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

Returns true if this value is an boolean

Parameters

value: unknown

Returns

value is boolean