Documentation
¶
Index ¶
- func Max[T constraints.Ordered](i, j T) T
- func Min[T constraints.Ordered](i, j T) T
- func Sum[T constraints.Ordered](i, j T) T
- type BiFunc
- type BiPredicate
- type Consumer
- type Func
- type Predicate
- func (fn Predicate[T]) And(other Predicate[T]) Predicate[T]
- func (fn Predicate[T]) DeepEqual(obj any) Predicate[T]
- func (fn Predicate[T]) Negate() Predicate[T]
- func (fn Predicate[T]) Not(other Predicate[T]) Predicate[T]
- func (fn Predicate[T]) Or(other Predicate[T]) Predicate[T]
- func (fn Predicate[T]) Test(t T) bool
- type Runner
- type Supplier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Max ¶
func Max[T constraints.Ordered](i, j T) T
func Min ¶
func Min[T constraints.Ordered](i, j T) T
func Sum ¶
func Sum[T constraints.Ordered](i, j T) T
Types ¶
type BiPredicate ¶
func (BiPredicate[T, U]) And ¶
func (fn BiPredicate[T, U]) And(other BiPredicate[T, U]) BiPredicate[T, U]
func (BiPredicate[T, U]) Negate ¶
func (fn BiPredicate[T, U]) Negate() BiPredicate[T, U]
func (BiPredicate[T, U]) Or ¶
func (fn BiPredicate[T, U]) Or(other BiPredicate[T, U]) BiPredicate[T, U]
func (BiPredicate[T, U]) Test ¶
func (fn BiPredicate[T, U]) Test(t T, u U) bool
type Predicate ¶
Click to show internal directories.
Click to hide internal directories.