Skip to content

[F] shouldFlattenProperty

function shouldFlattenProperty(context, target): boolean;

Whether a model property should be flattened or not.

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

boolean

whether the model property should be flattened or not