typeutils

package module
v0.25.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Overview

Package typeutils exposes utilities to inspect generic types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNil added in v0.25.0

func IsNil(input any) bool

IsNil checks if input is nil.

For types chan, func, interface, map, pointer, or slice it returns true if its argument is nil.

See reflect.Value.IsNil.

func IsZero

func IsZero(data any) bool

IsZero returns true when the value passed into the function is a zero value. This allows for safer checking of interface values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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