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

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

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function IsBoolean
import { IsBoolean } from "https://deno.land/x/typebox@0.33.22/src/value/guard/guard.ts";

Returns true if this value is an boolean

Parameters

value: unknown

Returns

value is boolean