Contains
Contains( path, in )
Contains( path, in )
Contains( path, in )
Contains( path, in )
contains( path, in )
Contains( path, in )
Description
The Contains
function returns true
if the argument passed as in
contains a value at the specified path, and false
otherwise.
This function is deprecated. You should use its alias
ContainsPath instead, or the related ContainsField
and ContainsValue functions.
|
Examples
The following query returns true
because the path favorites.foods
exists in the provided object:
BooleanV(True)
true
true
true
True
true
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!