Documentation ¶
Index ¶
- func Add[T Addable](a T, b T) T
- func AddPartial[T Addable](fixedAddable T) func(T) T
- func AreEqual[T comparable](a T, b T) bool
- func AreEqualPartial[T comparable](fixedComparee T) func(T) bool
- func AreNotEqual[T comparable](a T, b T) bool
- func AreNotEqualPartial[T comparable](fixedComparee T) func(T) bool
- func BitAnd[T constraints.Integer](a T, b T) T
- func BitAndPartial[T constraints.Integer](fixedOperand T) func(T) T
- func BitOr[T constraints.Integer](a T, b T) T
- func BitOrPartial[T constraints.Integer](fixedOperand T) func(T) T
- func BitShiftLeft[T constraints.Integer](a T, b T) T
- func BitShiftLeftPartial[T constraints.Integer](fixedOperand T) func(T) T
- func BitShiftRight[T constraints.Integer](a T, b T) T
- func BitShiftRightPartial[T constraints.Integer](fixedOperand T) func(T) T
- func BitXor[T constraints.Integer](a T, b T) T
- func BitXorPartial[T constraints.Integer](fixedOperand T) func(T) T
- func Divide[T Divisible](a T, b T) T
- func DividePartial[T Divisible](fixedDivideable T) func(T) T
- func GetZero[T any]() T
- func HasLengthMap[TKey comparable, TValue any](comparee map[TKey]TValue, length int) bool
- func HasLengthMapPartial[TKey comparable, TValue any](comparee map[TKey]TValue, length int) func(map[TKey]TValue) bool
- func HasLengthSlice[T comparable](comparee []T, length int) bool
- func HasLengthSlicePartial[T comparable](comparee []T, length int) func([]T) bool
- func HasLengthString(comparee string, length int) bool
- func HasLengthStringPartial(comparee string, length int) func(string) bool
- func IsFalse(comparee bool) bool
- func IsGreaterThan[T constraints.Ordered](a T, b T) bool
- func IsGreaterThanEqual[T constraints.Ordered](a T, b T) bool
- func IsGreaterThanEqualPartial[T constraints.Ordered](fixedComparee T) func(T) bool
- func IsGreaterThanPartial[T constraints.Ordered](fixedComparee T) func(T) bool
- func IsLessThan[T constraints.Ordered](a T, b T) bool
- func IsLessThanEqual[T constraints.Ordered](a T, b T) bool
- func IsLessThanEqualPartial[T constraints.Ordered](fixedComparee T) func(T) bool
- func IsLessThanPartial[T constraints.Ordered](fixedComparee T) func(T) bool
- func IsNil[T comparable](comparee T) bool
- func IsTrue(comparee bool) bool
- func IsZero[T comparable](comparee T) bool
- func Modulo[T constraints.Integer](a T, b T) T
- func ModuloPartial[T constraints.Integer](fixedOperand T) func(T) T
- func Multiply[T Multiplyable](a T, b T) T
- func MultiplyPartial[T Multiplyable](fixedMultiplyable T) func(T) T
- func NegateBinaryPredicate[T any](f func(T, T) bool) func(T, T) bool
- func NegateUnaryPredicate[T any](f func(T) bool) func(T) bool
- func Subtract[T Subtractable](a T, b T) T
- func SubtractPartial[T Subtractable](fixedSubtractable T) func(T) T
- type Addable
- type Divisible
- type Multiplyable
- type Subtractable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPartial ¶
func AddPartial[T Addable](fixedAddable T) func(T) T
func AreEqual ¶
func AreEqual[T comparable](a T, b T) bool
func AreEqualPartial ¶
func AreEqualPartial[T comparable](fixedComparee T) func(T) bool
func AreNotEqual ¶
func AreNotEqual[T comparable](a T, b T) bool
func AreNotEqualPartial ¶
func AreNotEqualPartial[T comparable](fixedComparee T) func(T) bool
func BitAnd ¶
func BitAnd[T constraints.Integer](a T, b T) T
func BitAndPartial ¶
func BitAndPartial[T constraints.Integer](fixedOperand T) func(T) T
func BitOr ¶
func BitOr[T constraints.Integer](a T, b T) T
func BitOrPartial ¶
func BitOrPartial[T constraints.Integer](fixedOperand T) func(T) T
func BitShiftLeft ¶
func BitShiftLeft[T constraints.Integer](a T, b T) T
func BitShiftLeftPartial ¶
func BitShiftLeftPartial[T constraints.Integer](fixedOperand T) func(T) T
func BitShiftRight ¶
func BitShiftRight[T constraints.Integer](a T, b T) T
func BitShiftRightPartial ¶
func BitShiftRightPartial[T constraints.Integer](fixedOperand T) func(T) T
func BitXor ¶
func BitXor[T constraints.Integer](a T, b T) T
func BitXorPartial ¶
func BitXorPartial[T constraints.Integer](fixedOperand T) func(T) T
func DividePartial ¶
func DividePartial[T Divisible](fixedDivideable T) func(T) T
func HasLengthMap ¶
func HasLengthMap[TKey comparable, TValue any](comparee map[TKey]TValue, length int) bool
func HasLengthMapPartial ¶
func HasLengthMapPartial[TKey comparable, TValue any](comparee map[TKey]TValue, length int) func(map[TKey]TValue) bool
func HasLengthSlice ¶
func HasLengthSlice[T comparable](comparee []T, length int) bool
func HasLengthSlicePartial ¶
func HasLengthSlicePartial[T comparable](comparee []T, length int) func([]T) bool
func HasLengthString ¶
func HasLengthStringPartial ¶
func IsGreaterThan ¶
func IsGreaterThan[T constraints.Ordered](a T, b T) bool
func IsGreaterThanEqual ¶
func IsGreaterThanEqual[T constraints.Ordered](a T, b T) bool
func IsGreaterThanEqualPartial ¶
func IsGreaterThanEqualPartial[T constraints.Ordered](fixedComparee T) func(T) bool
func IsGreaterThanPartial ¶
func IsGreaterThanPartial[T constraints.Ordered](fixedComparee T) func(T) bool
func IsLessThan ¶
func IsLessThan[T constraints.Ordered](a T, b T) bool
func IsLessThanEqual ¶
func IsLessThanEqual[T constraints.Ordered](a T, b T) bool
func IsLessThanEqualPartial ¶
func IsLessThanEqualPartial[T constraints.Ordered](fixedComparee T) func(T) bool
func IsLessThanPartial ¶
func IsLessThanPartial[T constraints.Ordered](fixedComparee T) func(T) bool
func IsNil ¶
func IsNil[T comparable](comparee T) bool
func IsZero ¶
func IsZero[T comparable](comparee T) bool
func Modulo ¶
func Modulo[T constraints.Integer](a T, b T) T
func ModuloPartial ¶
func ModuloPartial[T constraints.Integer](fixedOperand T) func(T) T
func Multiply ¶
func Multiply[T Multiplyable](a T, b T) T
func MultiplyPartial ¶
func MultiplyPartial[T Multiplyable](fixedMultiplyable T) func(T) T
func NegateBinaryPredicate ¶
func NegateUnaryPredicate ¶
func Subtract ¶
func Subtract[T Subtractable](a T, b T) T
func SubtractPartial ¶
func SubtractPartial[T Subtractable](fixedSubtractable T) func(T) T
Types ¶
type Addable ¶
type Addable interface { constraints.Integer | constraints.Float | constraints.Complex | string }
type Divisible ¶
type Divisible interface { constraints.Integer | constraints.Float | constraints.Complex }
type Multiplyable ¶
type Multiplyable interface { constraints.Integer | constraints.Float | constraints.Complex }
type Subtractable ¶
type Subtractable interface { constraints.Integer | constraints.Float | constraints.Complex }
Click to show internal directories.
Click to hide internal directories.