[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): Scalar | undefined;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | TCGCContext |
source | ModelProperty | Scalar |
Returns
Section titled “Returns”Scalar | undefined
Call Signature
Section titled “Call Signature”function getAlternateType(context, source): ExternalTypeInfo | undefined;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | TCGCContext |
source | Enum | Model | ModelProperty | Scalar | Union |
Returns
Section titled “Returns”ExternalTypeInfo | undefined