Skip to content

[I] MixedFunctionParameter

A function parameter with a mixed parameter constraint that could accept a value.

PropertyModifierTypeDescriptionInherited from
creating?publictrueIf the type is currently being created.FunctionParameterBase.creating
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--
namepublicstringThe name of this function parameter, as declared in the TypeSpec source.FunctionParameterBase.name
node?publicFunctionParameterNodeNode used to construct this type. If the node is undefined it means the type was dynamically built. With typekit for example.FunctionParameterBase.node
optionalpublicbooleanWhether this parameter is optional.FunctionParameterBase.optional
restpublicbooleanWhether this parameter is a rest parameter (i.e., ...args).FunctionParameterBase.rest
typepublicMixedParameterConstraint--