Boolean
Core
Blue ID: 4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u
Primitive scalar with exactly two values: true and false. - Authoring & wrappers: detail: > Scalar sugar (x: true) and wrapped form (x: { value: true }) are equivalent; canonical hashing uses the wrapped form (§8.2.2). The type does NOT declare `value` because it is an instance-level wrapper; adding it to the type would fix a payload on the type object (§2.1, §4.1). - Semantics: detail: > No truthiness beyond the two literals; only `true` and `false` are valid. - Equality & enums: detail: > Equality (incl. `enum`) compares the parsed boolean value; canonical JSON atoms are lower-case `true` / `false`.
Type Definition
YAML representation of the type document
Loading...