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

x/polkadot/util/index.ts>isBigInt

Package publishing for deno.land/x/polkadot
Go to Latest
function isBigInt
Re-export
import { isBigInt } from "https://deno.land/x/polkadot@0.2.17/util/index.ts";

Examples

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

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

Parameters

value: unknown

Returns

value is bigint