Skip to main content
Module

x/polkadot/mod.ts>util.isBoolean

Package publishing for deno.land/x/polkadot
Go to Latest
function util.isBoolean
import { util } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { isBoolean } = util;

Examples

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

isBoolean(false); // => true

Parameters

value: unknown

Returns

value is boolean