ReferenceNil.jsfunctionsFunction: hexToNumber()On this pageFunction: hexToNumber() function hexToNumber(hex): number Converts a hex string to a number. Parameters ParameterTypeDescriptionhex0x${string}The hex string to convert. Returns number The number representation of the input. Defined @nilfoundation/niljs/src/encoding/fromHex.ts:28