Skip to main content
Version: Next 🚧

[F] shouldFlattenProperty

function shouldFlattenProperty(context, target): boolean

Whether a model property should be flattened or not.

Parameters​

ParameterTypeDescription
contextTCGCContextTCGCContext
targetModelPropertyModelProperty that we want to check whether it should be flattened or not

Returns​

boolean

whether the model property should be flattened or not