function hexToNumberimport { hexToNumber } from "https://dotland.deno.dev/x/polkadot@0.2.35/util/hex/index.ts"; hexToNumber(value?: string | null): numberExamples import { hexToNumber } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts'; hexToNumber('0x1234'); // => 0x1234 Parametersoptionalvalue: string | nullReturnsnumber