filter function tests

commit_hash:1549bd01f40360f820353cecb97414026573b7bb
This commit is contained in:
ansestepanov
2025-08-19 14:10:43 +03:00
parent e0efba60b9
commit ee12cd4b4d
3 changed files with 319 additions and 0 deletions
@@ -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": []
}
]
}