I'm trying to filter an array with another.
For example, given I have this input array:
['foo', bar', 'baz']
And this filter array:
['foo', 'baz']
I want to have this output:
['bar']
I feel like I could be able to do this by piping to select(inside())
, but I can't get inside()
to work; I get a "not defined" error.