[F] filterModelProperties
Applies a filter to the properties of a given type. If no properties are filtered out, then return the input unchanged. Otherwise, return a new anonymous model with only the filtered properties.
Parameters
Parameter | Type | Description |
---|---|---|
program | Program | ProjectedProgram | - |
model | Model | The input model to filter. |
filter | (property ) => boolean | The filter to apply. Properties are kept when this returns true. |