function bnSqrtimport { bnSqrt } from "https://dotland.deno.dev/x/polkadot@0.2.35/util/bn/sqrt.ts"; bnSqrt<ExtToBn extends ToBn>(value: | ExtToBn | BN | bigint | string | number | null): BNExamples import BN from 'https://esm.sh/bn.js@5.2.1'; import { bnSqrt } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts'; bnSqrt(new BN(16)).toString(); // => '4' Type ParametersExtToBn extends ToBnParametersvalue: | ExtToBn | BN | bigint | string | number | nullReturnsBN