package
Version:
v1.3.24
Opens a new window with list of versions in this module.
Published: Aug 30, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func IsEmpty[T any](slice []T) bool
IsEmpty 判断切片是否为空或是否存在元素
slice 为空 或者 元素为 0 则返回 true
StrSlice 任意数据转化为字符串切片
v 为空或 nil 则返回一个空元素的切片
Source Files
¶
Click to show internal directories.
Click to hide internal directories.