github.com/jasonkeene/cli@v6.14.1-0.20160816203908-ca5715166dfb+incompatible/utils/generic/slice.go (about)

     1  package generic
     2  
     3  import "reflect"
     4  
     5  func IsSliceable(value interface{}) bool {
     6  	return reflect.TypeOf(value).Kind() == reflect.Slice
     7  }