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

x/polkadot/util-crypto/bundle.ts>randomAsNumber

Package publishing for deno.land/x/polkadot
Go to Latest
function randomAsNumber
import { randomAsNumber } from "https://deno.land/x/polkadot@0.2.27/util-crypto/bundle.ts";

Examples

import { randomAsNumber } from 'https://deno.land/x/polkadot@0.2.27/util-crypto/mod.ts';

randomAsNumber(); // => <random number>

Returns

number