In() returning false

I am trying to use in() to lookup if an email address is in a list, and though the email is the lookup list, in() in returning false.

The email is found using filter():

But in() returns false:

What is wrong here?

Much appreciation for anyone’s help!

i think you have the params in the wrong order

1st param is the value you are searching for

2nd param is the list to searh

max

You’re right!

The syntax confused me: it says in(search, value), which I assumed meant in(where do you want to search), (what value are you searching for).

Thanks!

1 Like