In#
- swordfish.function.In()#
If Y is a scalar:
If Y is of temporal types, check if each element in X is equal to Y;
If Y is a scalar of other data types, check if X and Y are equal.
If Y is a null value, return false.
If Y is a vector, check if each element of X is an element in Y.
If Y is a dictionary, check if each element of X is a key in the dictionary Y.
If Y is an in-memory table with one column, check if each element of X appears in the column of Y. Note the column cannot be of array vector form.
If Y is a keyed table or an indexed table, check if each element of X is a key of Y. The number of elements in X must equal the number of key columns of Y.