where

package
v0.0.0-...-9758427 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package where contains basic functions for checking conditions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ElemEqual

func ElemEqual[I comparable](items ...I) object.SliceCondition[I]

func ElemGreat

func ElemGreat[I cmp.Ordered](value 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 ElemLess

func ElemLess[I cmp.Ordered](value 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 IndexLess

func IndexLess[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 KeyGreat

func KeyGreat[K cmp.Ordered, V any](value K) object.MapCondition[K, V]

func KeyLess

func KeyLess[K cmp.Ordered, V any](value K) object.MapCondition[K, V]

func KeyNotEqual

func KeyNotEqual[K comparable, V any](keys ...K) object.MapCondition[K, V]

func KeyRange

func KeyRange[K cmp.Ordered, V any](i, j 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 ValueLess

func ValueLess[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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL