|
@@ -40,7 +40,7 @@ func SliceValueElem(v reflect.Value) reflect.Value {
|
|
return elem
|
|
return elem
|
|
}
|
|
}
|
|
|
|
|
|
-func IsSliceValueOf(v reflect.Type, elementKind reflect.Kind) bool {
|
|
|
|
|
|
+func IsSliceValueOf(v reflect.Value, elementKind reflect.Kind) bool {
|
|
return v.Kind() == reflect.Slice && v.Elem().Kind() == elementKind
|
|
return v.Kind() == reflect.Slice && v.Elem().Kind() == elementKind
|
|
}
|
|
}
|
|
|
|
|