Any
Not available in this language, yet.
Any( values )
Any( values )
Any( values )
any( values )
Any( values )
The run time of To work around this, you may specify a larger query timeout via the driver that you are using. |
Description
The Any
function tests the provided values
and returns true
if any of the items in values
is true
, otherwise it returns false
.
Any
is a better choice for handling collections of values than
the similar Or
function.
Returns
A Boolean indicating whether any of the items in values
is
true
.
Examples
The following query uses Any
multiple times to demonstrate how
the function evaluates several groups of values:
Not available in this language, yet.
[true true false false]
[true, true, false, false]
[ true, true, false, false ]
[True, True, False, False]
[true, true, false, false]
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
Visit Fauna's Discourse forums
or email docs@fauna.com
Thank you for your feedback!