runtimelib

package
v0.0.0-...-f282515 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cap

func Cap(v interface{}) int

Cap returns the capacity of a slice, array, or channel

func DeepEqual

func DeepEqual(a, b interface{}) bool

DeepEqual checks if two values are deeply equal

func Indirect

func Indirect(v interface{}) interface{}

Indirect returns the value that v points to, if v is a pointer

func IsArray

func IsArray(v interface{}) bool

IsArray checks if a value is an array

func IsBool

func IsBool(v interface{}) bool

IsBool checks if a value is a boolean

func IsFloat

func IsFloat(v interface{}) bool

IsFloat checks if a value is a float type

func IsFunc

func IsFunc(v interface{}) bool

IsFunc checks if a value is a function

func IsInt

func IsInt(v interface{}) bool

IsInt checks if a value is an integer type

func IsMap

func IsMap(v interface{}) bool

IsMap checks if a value is a map

func IsNil

func IsNil(v interface{}) bool

IsNil checks if a value is nil

func IsPointer

func IsPointer(v interface{}) bool

IsPointer checks if a value is a pointer

func IsSlice

func IsSlice(v interface{}) bool

IsSlice checks if a value is a slice

func IsString

func IsString(v interface{}) bool

IsString checks if a value is a string

func IsStruct

func IsStruct(v interface{}) bool

IsStruct checks if a value is a struct

func IsUint

func IsUint(v interface{}) bool

IsUint checks if a value is an unsigned integer type

func IsZero

func IsZero(v interface{}) bool

IsZero checks if a value is its zero value

func KindOf

func KindOf(v interface{}) string

KindOf returns the kind of a value as a string

func Len

func Len(v interface{}) int

Len returns the length of a slice, array, map, string, or channel

func SizeOf

func SizeOf(v interface{}) int

SizeOf returns the size of a value in bytes

func TypeOf

func TypeOf(v interface{}) string

TypeOf returns the type name of a value as a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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