Source/Packages

Observe.Value

packages/observability/src/Observe/Value.alpha

564 lines114 declarations29.3 KiBSHA-256 09f8c02938ee

def · lines 372–375

aosDecodeBool

Full file
Each tag's decoder: the value's exact member set, then its content.
372def aosDecodeBool =
373  (lambda unrestricted value : (family JSON) . (let unrestricted inner = (aosMemberValue b"v" value)
374    in (aosWhen (naturalAnd (aosHasExactly2 b"t" b"v" value) (aosIsBoolean inner))
375         (constructor AosValue AosBool (aosBooleanFlag inner)))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.