Skip to content

Contains Function

Jef Kazimer edited this page Mar 17, 2016 · 4 revisions

Syntax

bool Contains(values:List<object>, value:object)

Description

Returns a Boolean value indicating whether the value exists in the list of values. Comparisons for strings are performed without case sensitivity.

Remarks

If any input parameter is null, the function returns false. The first input parameter can be a list of objects or a single object.

If the first input parameter is a single object, then the function tests for equality (and for strings without case-sensitivity).

If you are intending to determine if a string value contains a substring value, you should use the RegexMatch function instead.

Supported Version

1.0.0.0 and later

Examples

Contains([//Queries/AdminSet/ComputedMember],[//Target/ObjectID])

Clone this wiki locally