@terascope/data-mate / function-configs/string/postal-code-utils
function-configs/string/postal-code-utils
Variables
POSTAL_PATTERNS
constPOSTAL_PATTERNS:Readonly<Record<string,PostalPattern>>
Defined in: data-mate/src/function-configs/string/postal-code-utils.ts:35
Functions
postalCodeSQL()
postalCodeSQL(
value,locale,udf):string
Defined in: data-mate/src/function-configs/string/postal-code-utils.ts:166
Parameters
| Parameter | Type |
|---|---|
value | string |
locale | string | undefined |
udf | (value) => string |
Returns
string
postalLocaleApplies()
postalLocaleApplies(
locale):boolean
Defined in: data-mate/src/function-configs/string/postal-code-utils.ts:179
Whether the SQL path handles this locale: none (meaning any), or one in the table.
Parameters
| Parameter | Type |
|---|---|
locale | unknown |
Returns
boolean