pluckStateZIPCode()
function pluckStateZIPCode(input): PluckedStateZIPCodeResult | null
Given a address string like "NY"
, "CA 94016"
, attempts to match the state abbreviation and
postal code, if applicable.
Parameters
Parameter | Type |
---|---|
input | unknown |
Returns
PluckedStateZIPCodeResult
| null
See
isStateLevelAbbreviation
to validate the state abbreviation.