MarkLogic 10 Product Documentation
map:containsmap: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()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.