Click or drag to resize

ExpressionAnyAndEvery Method

Returns the start of an expression that will evaluate the following: 1. The array is not empty (has "any" elements) 2. Every element in the array matches a given predicate ("every" element matches) Usage:
Expression.AnyAndEvery("x").In(Expression.Property("prop")).Satisfies(Expression.Variable("x").EqualTo(42))

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0295
Syntax
C#
public static IExpressionIn AnyAndEvery(
	string variable
)

Parameters

variable
Type: SystemString
The name to assign to the variable that will be used later via Variable(String)

Return Value

Type: IExpressionIn
The first portion of the completed expression for further modification
See Also