Skip to main content
Module

x/value_schema/dist-deno/libs/types.ts>isBoolean

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Latest
function isBoolean
import { isBoolean } from "https://deno.land/x/value_schema@v4.0.0/dist-deno/libs/types.ts";

check whether given value is a boolean or not

Parameters

value: unknown

value to check

Returns

value is boolean

Yes/No