Skip to main content



IsMatch Function

Determines if a given value is found in a list of values.

Syntax

IsMatch(expression, match1, match2, ...)

Determines if a given value is found in a list of values.

Arguments

expression Expression - The value or expression that you want to search for.

match Expression - The list of values or expressions being searched.

Remarks

Example:

IsMatch(4, 1, 2, 3, 4, 5, 6); // returns true

Example:

IsMatch(35, 1, 2, 3, 4, 5, 6); // returns false