UNPKG

@iota/area-codes

Version:
13 lines (12 loc) 434 B
/** * Is the IOTA Area Code valid. * @param iotaAreaCode The IOTA Area Code to validate. * @returns True if the code is valid. */ export declare function isValid(iotaAreaCode: string): boolean; /** * Is the IOTA Area Code a valid partial code. * @param iotaAreaCode The IOTA Area Code to validate. * @returns True if the code is a partial. */ export declare function isValidPartial(iotaAreaCode: string): boolean;