Documentation
¶
Index ¶
- func GetSliceHeader[T any](slice []T) *reflect.SliceHeader
- func GetUintPtr(value any) uintptr
- func GetUintPtrE(value any) (uintptr, error)
- func IsArrayType(v any) bool
- func IsArrayValue(v any) bool
- func IsClosed[T any](channel chan T) bool
- func IsNil(x any) bool
- func IsNotNil(v any) bool
- func IsNotZero(v any) bool
- func IsSliceOrArrayType(v any) bool
- func IsSliceOrArrayValue(v any) bool
- func IsSliceType(v any) bool
- func IsSliceValue(v any) bool
- func IsZero(value any) bool
- func SafeClose[T any](channel chan T) bool
- type Comparator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSliceHeader ¶
func GetSliceHeader[T any](slice []T) *reflect.SliceHeader
GetSliceHeader 通过反射获取切片的元数据信息
Types ¶
type Comparator ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.