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

x/polkadot/util-crypto/random/asNumber.ts>randomAsNumber

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

Examples

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

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

Returns

number