Skip to content

[I] ScalarValue

A scalar constructor call retained as a scalar, constructor name, and checked arguments.

  • BaseValue
PropertyModifierTypeDescriptionOverridesInherited from
entityKindreadonly"Value"Distinguishes a concrete value from a type or parameter constraint.-BaseValue.entityKind
scalarpublicScalarScalar instantiated by the constructor call.--
typepublicTypeRepresent the storage type of a value. Example `const a = “hello”; // Type here would be “hello” const b: string = a; // Type here would be string const c: stringint32 = b; // Type here would be stringint32`
valuepublicobjectConstructor invocation used to create the value.--
value.argspublicValue[]Checked arguments in call order.--
value.namepublicstringConstructor name on the scalar.--
valueKindpublic"ScalarValue"Discriminant for a retained constructor call rather than a primitive payload.BaseValue.valueKind-