nilcheck

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyNotNil

func AnyNotNil(values ...any) bool

AnyNotNil returns true if any given value is not nil.

AnyNotNil(nil, nil) -> false AnyNotNil(nil, 1) -> true

func AreAllNil

func AreAllNil(values ...any) bool

AreAllNil returns true if all given values are nil.

AreAllNil(nil, nil) -> true AreAllNil(nil, 1) -> false

Types

This section is empty.

Jump to

Keyboard shortcuts

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