isValidCode

Returns whether the provided string is a valid Open Location code.

@safe
bool
isValidCode
pure
(
string codeString
)

Parameters

codeString
Type: string

The code to check.

Return Value

Type: bool

True if it is a valid full or short code.

Meta