There’s nothing built into the language (other than custom trait solutions) that allows you to dispatch on arbitrary predicates, no.
2 Likes
There’s nothing built into the language (other than custom trait solutions) that allows you to dispatch on arbitrary predicates, no.