1,011 B
1,011 B
Predicate Terminology
[[TOC]]
Definition: Predicate
Any function that accepts exactly one input and produces a Predicate Result (aka a Boolean output).
Predicates are ways to express logical conditions.
Definition: Predicate Result
The result of evaluating a Predicate. Predicates may:
Definition: Match
The term match is a specific Result. Semantically, it means that the predicate ran successfully against the given input. The conditions within were met.
If the predicate were expressed as a Boolean, this would correspond to true.
Definition: Miss
The term miss is a specific Result. Semantically, it means that the predicate did not run successfully against the given input. The conditions within were not met.
If the predicate were expressed as a Boolean, this would correspond to false.