Documentation ¶
Overview ¶
Package where contains basic functions for checking conditions.
Index ¶
- func ElemEqual[I comparable](items ...I) object.SliceCondition[I]
- func ElemGreat[I cmp.Ordered](value I) object.SliceCondition[I]
- func ElemGreatOrEqual[I cmp.Ordered](value I) object.SliceCondition[I]
- func ElemInRange[I cmp.Ordered](i, j I) object.SliceCondition[I]
- func ElemLess[I cmp.Ordered](value I) object.SliceCondition[I]
- func ElemLessOrEqual[I cmp.Ordered](value I) object.SliceCondition[I]
- func ElemNotEqual[I comparable](items ...I) object.SliceCondition[I]
- func ElemNotInRange[I cmp.Ordered](i, j I) object.SliceCondition[I]
- func IndexGreat[I any](i int) object.SliceCondition[I]
- func IndexLess[I any](i int) object.SliceCondition[I]
- func IndexRange[I any](i, j int) object.SliceCondition[I]
- func KeyEqual[K comparable, V any](keys ...K) object.MapCondition[K, V]
- func KeyGreat[K cmp.Ordered, V any](value K) object.MapCondition[K, V]
- func KeyLess[K cmp.Ordered, V any](value K) object.MapCondition[K, V]
- func KeyNotEqual[K comparable, V any](keys ...K) object.MapCondition[K, V]
- func KeyRange[K cmp.Ordered, V any](i, j K) object.MapCondition[K, V]
- func ValueEqual[K int, I comparable](items ...I) object.MapCondition[K, I]
- func ValueGreat[K int, I cmp.Ordered](value I) object.MapCondition[K, I]
- func ValueGreatOrEqual[K int, I cmp.Ordered](value I) object.MapCondition[K, I]
- func ValueLess[K int, I cmp.Ordered](value I) object.MapCondition[K, I]
- func ValueLessOrEqual[K int, I cmp.Ordered](value I) object.MapCondition[K, I]
- func ValueNotEqual[K int, I comparable](items ...I) object.MapCondition[K, I]
- func ValueRange[K int, I cmp.Ordered](from, to I) object.MapCondition[K, I]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ElemEqual ¶
func ElemEqual[I comparable](items ...I) object.SliceCondition[I]
func ElemGreatOrEqual ¶
func ElemGreatOrEqual[I cmp.Ordered](value I) object.SliceCondition[I]
func ElemInRange ¶
func ElemInRange[I cmp.Ordered](i, j I) object.SliceCondition[I]
func ElemLessOrEqual ¶
func ElemLessOrEqual[I cmp.Ordered](value I) object.SliceCondition[I]
func ElemNotEqual ¶
func ElemNotEqual[I comparable](items ...I) object.SliceCondition[I]
func ElemNotInRange ¶
func ElemNotInRange[I cmp.Ordered](i, j I) object.SliceCondition[I]
func IndexGreat ¶
func IndexGreat[I any](i int) object.SliceCondition[I]
func IndexRange ¶
func IndexRange[I any](i, j int) object.SliceCondition[I]
func KeyEqual ¶
func KeyEqual[K comparable, V any](keys ...K) object.MapCondition[K, V]
func KeyNotEqual ¶
func KeyNotEqual[K comparable, V any](keys ...K) object.MapCondition[K, V]
func ValueEqual ¶
func ValueEqual[K int, I comparable](items ...I) object.MapCondition[K, I]
func ValueGreat ¶
func ValueGreat[K int, I cmp.Ordered](value I) object.MapCondition[K, I]
func ValueGreatOrEqual ¶
func ValueGreatOrEqual[K int, I cmp.Ordered](value I) object.MapCondition[K, I]
func ValueLessOrEqual ¶
func ValueLessOrEqual[K int, I cmp.Ordered](value I) object.MapCondition[K, I]
func ValueNotEqual ¶
func ValueNotEqual[K int, I comparable](items ...I) object.MapCondition[K, I]
func ValueRange ¶
func ValueRange[K int, I cmp.Ordered](from, to I) object.MapCondition[K, I]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.