Skip to main content

Function: isAddress()

function isAddress(value): value is Address

Checks if the value is an address. If the value is an address, returns true. Otherwise, returns false.

Parameters

ParameterTypeDescription

value

string

The value to check.

Returns

value is Address

Defined

@nilfoundation/niljs/src/utils/address.ts:20