in allows to check whether an array or a map contains an element.
To do the opposite, use
It's also useful for writing boolean expressions that are clearer and more compact:
V optimizes such expressions, so both
if statements above produce the same machine code and no
arrays are created.
See Operators for more information about all operators.