comparer

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractOperator

func ExtractOperator(filterQuery string) string

ExtractOperator extracts the operator type from a given string

Types

type Comparer

type Comparer interface {
	Compare(a any, b any) bool
}

Comparer is an interface to compare any two values

func New

func New(operatorType string) Comparer

New returns a new comparer of the given type t

Jump to

Keyboard shortcuts

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