@iota/area-codes
Version:
IOTA Area Codes (IAC) JavaScript
13 lines (12 loc) • 434 B
TypeScript
/**
* 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;