Versions in this module Expand all Collapse all v1 v1.16.11 Aug 20, 2024 Changes in this version + func Add(a, b interface{}) interface + func Divide(a, b interface{}) float64 + func Equal(a, b interface{}) bool + func Exponent(a, b any) float64 + func Fetch(from, i any) any + func FetchField(from any, field *Field) any + func FetchMethod(from any, method *Method) any + func In(needle any, array any) bool + func IsNil(v any) bool + func Len(a any) int + func Less(a, b interface{}) bool + func LessOrEqual(a, b interface{}) bool + func MakeRange(min, max int) []int + func Modulo(a, b interface{}) int + func More(a, b interface{}) bool + func MoreOrEqual(a, b interface{}) bool + func Multiply(a, b interface{}) interface + func Negate(i any) any + func Slice(array, from, to any) any + func Subtract(a, b interface{}) interface + func ToFloat64(a any) float64 + func ToInt(a any) int + func ToInt64(a any) int64 + type Field struct + Index []int + Path []string + type Method struct + Index int + Name string + type Sort struct + Array []any + Desc bool + func (s *Sort) Len() int + func (s *Sort) Less(i, j int) bool + func (s *Sort) Swap(i, j int) + type SortBy struct + Array []any + Desc bool + Values []any + func (s *SortBy) Len() int + func (s *SortBy) Less(i, j int) bool + func (s *SortBy) Swap(i, j int)