named

Returns predicate carrying name as its CMatterPredicate.name.

A lambda has no identity of its own, so wrapping it here is what makes an io.github.sakaki_aruka.customcrafter.debug.Explainer able to report this predicate by name instead of by index.

Return

CMatterPredicate A predicate behaving as predicate and named name

Since

5.3.0

Parameters

name

Label to report this predicate under

predicate

The predicate to label