(apply-label-filters labels params)
Given a single set of parameters with label filters, checks if the given
labels match. If there is at least one filter in the params' :label-filters
for which all labels in the conjunction match, this returns true
. If
the params don't have any labels, this assumes all labels match.
Given a single set of parameters with label filters, checks if the given labels match. If there is at least one filter in the params' `:label-filters` for which all labels in the conjunction match, this returns `true`. If the params don't have any labels, this assumes all labels match.
(matches-labels? f labels)
Predicate that checks if the given labels match filter f
. The filter
is a list of a list labels and values, where the first level represents a
disjunction (logical 'or') and the second a conjunction (logical 'and').
Predicate that checks if the given labels match filter `f`. The filter is a list of a list labels and values, where the first level represents a disjunction (logical 'or') and the second a conjunction (logical 'and').
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close