objects

package
v0.0.0-...-66224dc Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Empty

func Empty(any interface{}) bool

Empty : 判断对象是否为空

0, 空字符串为空值, 目前仅支持字符串, 数组(切片)判空

-------------------

*** author: whmmm ***

*** date: 2021-12-14 12:01 ***

func NotEmpty

func NotEmpty(any interface{}) bool

NotEmpty : 判断非空, 取反 Empty

-------------------

*** author: whmmm ***

*** date: 2021-12-14 12:06 ***

Types

This section is empty.

Jump to

Keyboard shortcuts

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