reflect

package
v1.2.17 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(expected interface{}, actual interface{}) bool

Equal returns if the two objects are equal

func IsBlank

func IsBlank(value reflect.Value) bool

IsBlank defined

func IsEqual

func IsEqual(expected interface{}, actual interface{}) bool

IsEqual returns if the two objects are equal

func IsFunction

func IsFunction(in interface{}, num ...int) bool

IsFunction returns if the argument is a function.

func IsType

func IsType(expected interface{}, actual interface{}) bool

IsType returns if the two objects are in the same type

func NotEqual

func NotEqual(expected interface{}, actual interface{}) bool

NotEqual returns if the two objects are not equal

func OrOne added in v1.2.2

func OrOne(arr ...interface{}) interface{}

OrOne defined TODO

func RedirectValue

func RedirectValue(value reflect.Value) reflect.Value

RedirectValue defined

func SliceElem

func SliceElem(rtype reflect.Type) reflect.Type

SliceElem defined

Types

This section is empty.

Jump to

Keyboard shortcuts

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