Null-coalescing chain: the first non-null/undefined item wins (a ?? b ?? c).
a ?? b ?? c
Use for fallback values, e.g. an optional input field backed by a default.
Candidates in priority order; the first defined one is used.
Type discriminator.
Null-coalescing chain: the first non-null/undefined item wins (
a ?? b ?? c).Use for fallback values, e.g. an optional input field backed by a default.