(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.
(filter-by-label repo entities)
(labels->map l)
(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |