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

x/polkadot/util/index.ts>isBn

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

Examples

import BN from 'https://esm.sh/bn.js@5.2.1';
import { isBn } from 'https://deno.land/x/polkadot@0.2.17/util/mod.ts';

console.log('isBn', isBn(new BN(1))); // => true

Parameters

value: unknown

Returns

value is BN