map:contains( $map as map:map, $key as xs:string ) as xs:boolean
Returns true if the key exists in the map.
Parameters | |
---|---|
map | A map. |
key | A key. |
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.