Upper bound (inclusive, 10) of the structural tuple prefix embedded in
MinLengthArray (and, via composition, in BoundedLengthArray
and FixedLengthArray) — i.e. the boundary between "expand the
minimum length into tuple positions" and "fall back to readonly Elm[]".
The prefix is what makes indexed access below the minimum length not
include undefined under noUncheckedIndexedAccess. It is kept small so
that the prefix stays cheap for the type checker even when the element type
is large.
Exported so that downstream libraries can share the same boundary instead
of hard-coding their own.
Upper bound (inclusive,
10) of the structural tuple prefix embedded in MinLengthArray (and, via composition, in BoundedLengthArray and FixedLengthArray) — i.e. the boundary between "expand the minimum length into tuple positions" and "fall back toreadonly Elm[]". The prefix is what makes indexed access below the minimum length not includeundefinedundernoUncheckedIndexedAccess. It is kept small so that the prefix stays cheap for the type checker even when the element type is large.Exported so that downstream libraries can share the same boundary instead of hard-coding their own.