Skip to content

[T] Value

type Value =
| ScalarValue
| NumericValue
| StringValue
| BooleanValue
| ObjectValue
| ArrayValue
| EnumValue
| NullValue
| FunctionValue;

A checked TypeSpec value, distinct from the Type describing what values are allowed. Narrow with valueKind to inspect primitive payloads, collection contents, or constructor calls.