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

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

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

Examples

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

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

Parameters

optional
value: unknown

Returns

value is undefined