Skip to content

Segments

The five segments of a postcode. A partial postcode has null for each missing segment.

readonly area: string | null

Two letters for the area, or null.


readonly district: string | null

Three letters or digits for the district, or null.


readonly lga: string | null

Two digits for the LGA, or null in a code that stops before it.


readonly state: string

Two letters for the state, such as EK.


readonly unit: string | null

Two digits for the unit, or null.

Unofficial. Not made or endorsed by NIPOST.