util

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asc

func Asc[T constraints.Ordered](p, q T, i int) bool

Asc is a function used to sort enumerables in ascending order.

func Desc

func Desc[T constraints.Ordered](p, q T, i int) bool

Desc is a function used to sort enumerables in descending order.

func NotNil

func NotNil[T any](v *T, i int) bool

NolNil is a preticate function checking if the element reference is not nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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