Skip to content

[F] getAlternateType

Get the alternate type for a source type in a specific scope.

the Sdk Context

source type to be replaced

function getAlternateType(context, source): undefined | Scalar;
ParameterType
contextTCGCContext
sourceModelProperty | Scalar

undefined | Scalar

function getAlternateType(context, source): undefined | ExternalTypeInfo;
ParameterType
contextTCGCContext
sourceEnum | Model | ModelProperty | Scalar | Union

undefined | ExternalTypeInfo