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

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

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

Examples

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

console.log('isUndefined', isUndefined(void(0))); // => true

Parameters

optional
value: unknown

Returns

value is undefined