Is your feature request related to a problem? Please describe.
The filter function does not support filtering primitive arrays like below
filter(["foo", "bar", "foobar"], length(it)==3)
This is mainly because it does not support the it reference
Describe the solution you'd like
Add support for it operator in filter function, so that it supports primitive array