We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 598ad67 commit 4e4c30dCopy full SHA for 4e4c30d
1 file changed
internal/flat/slice.go
@@ -127,8 +127,8 @@ func Values(items []interface{}) []reflect.Value {
127
return sv
128
}
129
130
-// Values returns the items values as a slice of interface{}. Nested
131
-// Slice items are flattened.
+// Interfaces returns the items values as a slice of
+// interface{}. Nested Slice items are flattened.
132
func Interfaces(items ...interface{}) []interface{} {
133
l, flattened := Len(items)
134
if flattened {
0 commit comments