map:contains( $map as map:map, $key as xs:string ) as xs:boolean
Returns true if the key exists in the map.
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.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.