check

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package check provides common predicate functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nil

func Nil[T any](val *T) bool

Nil checks whether the reference is nil

func NotNil

func NotNil[T any](val *T) bool

NotNil checks whether the reference is not nil

func Zero

func Zero[T any](value T) bool

Zero checks whether the value is zero

Types

This section is empty.

Directories

Path Synopsis
Package not provides negalive predicates like 'not equals to'
Package not provides negalive predicates like 'not equals to'

Jump to

Keyboard shortcuts

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