Skip to content

[I] MixedFunctionParameter

Represent a function parameter that could accept types or values in the TypeSpec program.

Extends

Properties

PropertyModifierTypeDescriptionInherited from
entityKindreadonly"Type"-FunctionParameterBase.entityKind
instantiationParameters?publicType[]-FunctionParameterBase.instantiationParameters
isFinishedpublicbooleanReflect if a type has been finished(Decorators have been called). There is multiple reasons a type might not be finished: - a template declaration will not - a template instance that argument that are still template parameters - a template instance that is only partially instantiated(like a templated operation inside a templated interface)FunctionParameterBase.isFinished
kindpublic"FunctionParameter"-FunctionParameterBase.kind
mixedpublictrue--
namepublicstring-FunctionParameterBase.name
nodepublicFunctionParameterNode-FunctionParameterBase.node
optionalpublicboolean-FunctionParameterBase.optional
restpublicboolean-FunctionParameterBase.rest
typepublicMixedParameterConstraint--