- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isMapOrInterface (0.16 sec)
-
operator/pkg/tpath/tree.go
if vv.Kind() == reflect.Ptr { vv = vv.Elem() } if vv.Kind() == reflect.Interface { vv = vv.Elem() } return vv.Kind() == reflect.Slice } // isMapOrInterface reports whether v is a map, or interface to a map. func isMapOrInterface(v any) bool { vv := reflect.ValueOf(v) if vv.Kind() == reflect.Interface { vv = vv.Elem() } return vv.Kind() == reflect.Map }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 17.5K bytes - Viewed (0)