name

open fun name(): String

Returns a label identifying this predicate in diagnostic logs.

A lambda carries no identity of its own, so the default is ANONYMOUS and an io.github.sakaki_aruka.customcrafter.debug.Explainer falls back to reporting the predicate's index within CMatter.predicates. Override it, or wrap the lambda with CMatterPredicates.named, to get a readable name instead.

Combinators in CMatterPredicates derive their name from the predicates they combine, so a composed predicate reports its structure without any extra work.

Return

String Label of this predicate (default = ANONYMOUS)

Since

5.3.0