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

x/polkadot/util/is/index.ts>isNull

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

Examples

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

console.log('isNull', isNull(null)); // => true

Parameters

optional
value: unknown

Returns

value is null