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

x/polkadot/util/is/boolean.ts>isBoolean

Package publishing for deno.land/x/polkadot
Go to Latest
function isBoolean
import { isBoolean } from "https://deno.land/x/polkadot@0.2.17/util/is/boolean.ts";

Examples

import { isBoolean } from 'https://deno.land/x/polkadot@0.2.17/util/mod.ts';

isBoolean(false); // => true

Parameters

value: unknown

Returns

value is boolean