FunctionArrayContains Method |
Creates a function that will query if the given array expression contains
the given element
Namespace:
Couchbase.Lite.Query
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0295
Syntax public static IFunction ArrayContains(
Object array,
Object element
)
Parameters
- array
- Type: SystemObject
An expression that evaluates to an array (otherwise the query will
fail) - element
- Type: SystemObject
The element to search for (either an expression or literal)
Return Value
Type:
IFunctionA function that will return true if the array contains the element, or false
if it does not
See Also