MarkLogic Server 11.0 Product Documentation
map:contains

map:contains(
   $map as map:map,
   $key as xs:string
) as xs:boolean

Summary

Returns true if the key exists in the map.

Parameters
map A map.
key A key.

Example

  map:contains($table, "some-key")
  => fn:true()
Powered by MarkLogic Server | Terms of Use | Privacy Policy