Module

std/node/util.ts>isBoolean

Deno standard library
Go to Latest
function isBoolean
Deprecated
Deprecated
  • use typeof value === "boolean" || value instanceof Boolean instead.
import { isBoolean } from "https://dotland.deno.dev/std@0.116.0/node/util.ts";

Parameters

value: unknown

Returns

boolean