initial commit
This commit is contained in:
5
pkg/array/empty.go
Normal file
5
pkg/array/empty.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package array
|
||||
|
||||
func IsEmpty[TIn any](arr []TIn) bool {
|
||||
return arr == nil || len(arr) == 0
|
||||
}
|
||||
Reference in New Issue
Block a user