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