ISO Month values in string format (from "01" to "12").
"01"
"12"
Union type stricter than string type for month values, limited to valid values from "01" to "12", and giving type errors otherwise.
string
const months: Iterable<ISOMonth> = ["01", "06", "12"]; Copy
const months: Iterable<ISOMonth> = ["01", "06", "12"];
ISO Month values in string format (from
"01"
to"12"
).Remarks
Union type stricter than
string
type for month values, limited to valid values from"01"
to"12"
, and giving type errors otherwise.Example
See