[F] getAlternateType
Get the alternate type for a source type in a specific scope.
the Sdk Context
source type to be replaced
Call Signature
Section titled “Call Signature”function getAlternateType(context, source): undefined | Scalar;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | TCGCContext |
source | ModelProperty | Scalar |
Returns
Section titled “Returns”undefined | Scalar
Call Signature
Section titled “Call Signature”function getAlternateType(context, source): undefined | ExternalTypeInfo;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | TCGCContext |
source | Enum | Model | ModelProperty | Scalar | Union |
Returns
Section titled “Returns”undefined | ExternalTypeInfo