empty

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmpty

func IsEmpty(value interface{}) bool

IsEmpty 判断任意一个值是否为空 It returns true if <value> is in: 0, nil, false, "", len(slice/map/chan) == 0

func IsNil

func IsNil(value interface{}, traceSource ...bool) bool

IsNil 判断值是否为nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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