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

x/polkadot/mod.ts>util.isBigInt

Package publishing for deno.land/x/polkadot
Latest
function util.isBigInt
Re-export
import { util } from "https://deno.land/x/polkadot@0.2.45/mod.ts";
const { isBigInt } = util;

Examples

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

console.log('isBigInt', isBigInt(123_456n)); // => true

Parameters

value: unknown

Returns

value is bigint