[F] shouldFlattenProperty
function shouldFlattenProperty(context, target): booleanWhether a model property should be flattened or not.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | TCGCContext | TCGCContext |
target | ModelProperty | ModelProperty that we want to check whether it should be flattened or not |
Returns
boolean
whether the model property should be flattened or not