Contains
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
|
Parameters
Parameter | Type | Definition and Requirements |
---|---|---|
|
Array of Numbers and/or Strings |
A path to a specified field or array entry within the |
|
Any |
A value of any type. |
Examples
The following query returns true
because the path favorites.foods
exists in the provided object:
true
true
True
true
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!