Add find() and findIndex()

This commit is contained in:
Anton Medvedev
2023-08-24 11:15:43 +02:00
parent 22b3d6bf74
commit 2c139ca36a
11 changed files with 146 additions and 23 deletions
+9 -7
View File
@@ -17,13 +17,15 @@ import (
var predicates = map[string]struct {
arity int
}{
"all": {2},
"none": {2},
"any": {2},
"one": {2},
"filter": {2},
"map": {2},
"count": {2},
"all": {2},
"none": {2},
"any": {2},
"one": {2},
"filter": {2},
"map": {2},
"count": {2},
"find": {2},
"findIndex": {2},
}
type parser struct {