Click or drag to resize

ArrayExpressionAnyAndEvery 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:
ArrayExpression.AnyAndEvery("x").In(Expression.Property("prop")).Satisfies(ArrayExpression.Variable("x").EqualTo(42))

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public static IArrayExpressionIn AnyAndEvery(
	IVariableExpression variable
)

Parameters

variable
Type: Couchbase.Lite.QueryIVariableExpression
The name to assign to the variable that will be used later via Variable(String)

Return Value

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