Changes

Jump to navigation Jump to search
664 bytes added ,  21:27, 7 March 2016
no edit summary
|}
==inspect:function-annotations==
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|inspect:function-annotations|$function as function(*)?|map(xs:QName, xs:anyAtomicType*)}}<br/>
|-
| '''Summary'''
|Returns the annotations of the specified {{Code|$function}} in a map.
|-
| '''Examples'''
|
* Returns an empty map:
<pre class="brush:xquery">
inspect:function-annotations(true#0)
</pre>
* Returns a map with a single key <code><nowiki>Q{http://www.w3.org/2012/xquery}private</nowiki></code> and an empty sequence as value:
<pre class="brush:xquery">
declare %private function local:f() { 'well hidden' };
inspect:function-annotations(local:f#0)
</pre>
|}
=Documentation=
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu