You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Operates on the extractions, input args not touched. Map an option to one or more values. Currently does some processing if `name` and/or `type` are provided. What if they are not, what should the defaults be?
139
-
* Uses `def.from` to match with the first arg of the extraction (as the same def.from was originally used to create the extraction)
140
-
* Uses def.def, def.name, def.type. Not def.to.
141
-
* Output:
142
-
[
143
-
[<name>, [...typeResults]]
144
-
[<name>, [...typeResults]]
145
-
]
146
-
*/
147
-
getMatches(extractions){
148
-
constresult=[];
149
-
for(constextractionofextractions){
150
-
/* the from arg is the one matched by def.from() */
* Operates on the extractions, input args not touched. Map an option to one or more values. Currently does some processing if `name` and/or `type` are provided. What if they are not, what should the defaults be?
51
-
* Uses `def.from` to match with the first arg of the extraction (as the same def.from was originally used to create the extraction)
52
-
* Uses def.def, def.name, def.type. Not def.to.
53
-
* Output:
54
-
[
55
-
[<name>, [...typeResults]]
56
-
[<name>, [...typeResults]]
57
-
]
58
-
*/
59
-
getMatches(extractions){
60
-
constresult=[]
61
-
for(constextractionofextractions){
62
-
/* the from arg is the one matched by def.from() */
0 commit comments