type alias Notation

The three slots of an IP notation string, as slices of it, before any of them is read. Absent slots are absent, not empty: splitNotation rejects an empty slot rather than returning "".

Properties

readonly
address: string

The address slot, everything before the first % or /

readonly
optional
zoneId: ZoneId

The zone ID slot, between % and the / or the end of the string

readonly
optional
prefix: string

The prefix slot, everything after /: a prefix length or a mask

Usage

import { type Notation } from "notation.ts";