[F] getAlternateType
function getAlternateType(context, source): undefined | Scalar;Get the alternate type for a source type in a specific scope.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
context | TCGCContext | the Sdk Context |
source | ModelProperty | Scalar | source type to be replaced |
Returns
Section titled “Returns”undefined | Scalar
alternate type to replace the source type, or undefined if no alternate type is found