- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isSliceOrPtrInterface (0.25 sec)
-
operator/pkg/tpath/tree.go
return false } scope.Debugf("%v regex %v? %v\n", pattern, str, match) return match } // isSliceOrPtrInterface reports whether v is a slice, a ptr to slice or interface to slice. func isSliceOrPtrInterface(v any) bool { vv := reflect.ValueOf(v) if vv.Kind() == reflect.Ptr { vv = vv.Elem() } if vv.Kind() == reflect.Interface { vv = vv.Elem() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 17.5K bytes - Viewed (0)