Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AndImpl ¶
type OrImpl ¶
type Predicate ¶
type Predicate[T any] interface { // Test checks if the given entity statisfy the predicate or not Test(T) bool // Equals recursively checks if the given Predicate has the same // structure and value as the caller Predicate // NOTE: the result will contain false negatives, meaning even if // two predicates are mathmatically equivalent, Equals may still // return false. Equals(Predicate[T]) bool }
Click to show internal directories.
Click to hide internal directories.