Operators

is an element of

Supported By

Syntax

expression is an element of list

Description

The is an element of operator evaluates to true if any of the elements of the given list are equal to the given expression. If none of the elements of the given list are equal to the given expression, the is an element of operator evaluates to false.

Note

Equality is determined as specified for the = operator. For a stricter definition of equality (as specified for the === operator), see is precisely an element of.

Synonym

is an element in

See Also

is precisely an element of, is not an element of, is not precisely an element of