Skip to content

[F] filterModelProperties

function filterModelProperties(model, predicate): ModelProperty[];

Filter the model properties of a model, using the given predicate

ParameterTypeDescription
modelModelThe model to filter
predicate(prop) => boolean-

ModelProperty[]

a list of filtered properties, it will have length 0 if no properties match the filter.

predicate The predicate function used to filter model properties