isany

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: MIT Imports: 1 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllNull

func AllNull(anyItems ...interface{}) bool

func Defined

func Defined(item interface{}) bool

Defined

Returns true for not nil

Reference : https://stackoverflow.com/a/43896204

func DefinedAllOf

func DefinedAllOf(anyItems ...interface{}) bool

func DefinedAnyOf

func DefinedAnyOf(anyItems ...interface{}) bool

func DefinedBoth added in v0.9.7

func DefinedBoth(leftAnyItem, rightAnyItem interface{}) (isBothDefined bool)

func DefinedLeftRight added in v0.9.7

func DefinedLeftRight(leftAnyItem, rightAnyItem interface{}) (isLeftDefined, isRightDefined bool)

func NotNull

func NotNull(item interface{}) bool

NotNull

Returns true for not nil

Reference : https://stackoverflow.com/a/43896204

func Null

func Null(item interface{}) bool

Null

Returns true for any nil given

Reference : https://stackoverflow.com/a/43896204

func NullBoth added in v0.9.7

func NullBoth(leftAnyItem, rightAnyItem interface{}) (isBothNull bool)

func NullLeftRight added in v0.9.7

func NullLeftRight(leftAnyItem, rightAnyItem interface{}) (isLeftNull, isRightNull bool)

func ReflectNotNull

func ReflectNotNull(item interface{}) bool

ReflectNotNull

Returns true for not nil.

Reference : https://stackoverflow.com/a/43896204

func ReflectNull

func ReflectNull(item interface{}) bool

ReflectNull

Returns true for any nil given

Reference : https://stackoverflow.com/a/43896204

Types

This section is empty.

Jump to

Keyboard shortcuts

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