gitlab.com/evatix-go/core@v1.3.55/isany/Pointer.go (about)

     1  package isany
     2  
     3  import "reflect"
     4  
     5  func Pointer(anyItem interface{}) (isPtr bool) {
     6  	rv := reflect.ValueOf(anyItem)
     7  
     8  	return rv.Kind() == reflect.Ptr
     9  }