mirror of
https://github.com/hanzoai/expr.git
synced 2026-09-24 16:58:58 +00:00
Add find() and findIndex()
This commit is contained in:
+9
-7
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user