Skip to content

Commit

Permalink
Revert that commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Oct 8, 2024
1 parent 1c7b342 commit 2910ad0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/types/arrays.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package types

import "reflect"

func isArrayOrSlice(v interface{}) bool {
kind := reflect.TypeOf(v).Kind()
return kind == reflect.Array || kind == reflect.Slice
}

0 comments on commit 2910ad0

Please sign in to comment.