isValidCode

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

@safe pure
bool
isValidCode
(
string codeString
)

Parameters

codeString string

The code to check.

Return Value

Type: bool

True if it is a valid full or short code.

Meta