ContainsValue
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
ContainsValue( value, in )
containsValue( value, in )
ContainsValue( value, in )
ContainsValue( value, in )
ContainsValue( value, in )
ContainsValue( value, in )
Description
The ContainsValue
function returns true
if the specified value
exists
within the result of the in
expression, or false
otherwise.
ContainsValue
is useful when you need to distinguish between object,
arrays, or documents that contain a value (regardless of field name) and
those that do not.
ContainsValue
does not evaluate nested arrays or objects. If you need to
determine whether a value exists within a complex structure, the
Select
function can be used to target the appropriate section
within a structure.