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