mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
filter function tests
commit_hash:1549bd01f40360f820353cecb97414026573b7bb
This commit is contained in:
@@ -193,6 +193,23 @@
|
||||
"web",
|
||||
"flutter"
|
||||
]
|
||||
},
|
||||
{
|
||||
"function_name": "filter",
|
||||
"is_method": true,
|
||||
"doc": "Returns filtered array by calling boolean function to each element of array.",
|
||||
"arguments": [
|
||||
{
|
||||
"type": "array",
|
||||
"doc": "Array."
|
||||
},
|
||||
{
|
||||
"type": "function",
|
||||
"doc": "Accepts each element of array, returns bool."
|
||||
}
|
||||
],
|
||||
"result_type": "array",
|
||||
"platforms": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user