boolean constant

ElemRange const boolean

The rule of a boolean array (CORELIB_PLAN §4.4): every element is in range, and every one other than 0 is held as 1 — so a decoded 2 reads back as the true it is and re-encodes canonically. It rides the range channel so an array with neither a width nor booleans pays nothing for it.

Implementation

static const ElemRange boolean = ElemRange._boolean();