get
($map as object(), $key as string) as item()
Returns the value under the key. |
has-key
($map as object(), $key as string) as boolean
Returns true if $key exists in the map. |
set-if-empty
($map as object(), $key as xs:string, $value as item()) as boolean
Only if key doesn't exist, inserts new key and value into the map and returns true. |
set
($map as object(), $key as xs:string, $value as item()) as boolean
Inserts new key and value into the map or replaces value under the exiting key. |
declare function map:get($map as object(), $key as string) as item()
declare function map:has-key($map as object(), $key as string) as boolean
declare %an:sequential function map:set-if-empty($map as object(), $key as xs:string, $value as item()) as boolean
declare %an:sequential function map:set($map as object(), $key as xs:string, $value as item()) as boolean