Skip to main content

Function: isUserRef()

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / isUserRef

Function: isUserRef()

isUserRef(value): boolean

Defined in: packages/launchpad-sdk/dist/utils/address-formatter.d.ts:102

Whether userRef takes the value (without throwing).

Parameters​

value​

unknown

Anything.

Returns​

boolean

true for a user address in any spelling the chain accepts and whose checksum, if mixed case, is right.