Nado Typescript SDK Documentation
Preparing search index...
Nado Utils
getValidatedHex
Function getValidatedHex
getValidatedHex
(
maybeHex
:
string
)
:
`
0x
${
string
}
`
Check if the given string is a valid hex string. Throws an error if not.
Parameters
maybeHex
:
string
Returns
`
0x
${
string
}
`
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Documentation
Loading...
Check if the given string is a valid hex string. Throws an error if not.