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