Changes

Jump to navigation Jump to search
18 bytes added ,  16:54, 9 March 2023
no edit summary
{| width='100%'
|- valign="top"
| width='120' | '''SignaturesSignature'''|{{Func|inspect:functions||function(*)*}}<br/pre>{{Func|inspect:functions|( $uri href as xs:string| := ()) as function(*)*}}</pre>
|- valign="top"
| '''Summary'''
|Returns function items for all user-defined functions (both public and private) that are known in the current query context. If a an {{Code|$urihref}} value is specified, the specified resource will be retrieved as a string and compiled, and its functions will be added to the query context and returned to the user. A relative URI will be resolved against the static base URI of the query.
|- valign="top"
|'''Examples'''
{| width='100%'
|- valign="top"
| width='120' | '''SignaturesSignature'''|{{Func|<pre>inspect:function-annotations|( $function as function(*)?|) as map(xs:QName, xs:anyAtomicType*)}}<br/pre>
|- valign="top"
| '''Summary'''
{| width='100%'
|- valign="top"
| width='120' | '''SignaturesSignature'''|{{Func|<pre>inspect:static-context|( $function as function(*)?, $name as xs:string|) as item()*}}<br/pre>
|- valign="top"
| '''Summary'''
{| width='100%'
|- valign="top"
| width='120' | '''SignaturesSignature'''|{{Func|inspect:type|$value as item()*|xs:string}}<br/pre>{{Func|inspect:type|( $value input as item()*, $options as map(*)| := map { }) as xs:string}}</pre>
|- valign="top"
| '''Summary'''
|Returns a string representation of the type of a the given {{Code|$valueinput}}:
* The string includes the occurrence indicator.
* The type of functions and nodes may be stricter than the returned type.
{| width='100%'
|- valign="top"
| width='120' | '''SignaturesSignature'''|{{Func|<pre>inspect:function|( $function as function(*)|) as element(function)}}</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
|- valign="top"
| width='120' | '''SignaturesSignature'''|{{Func|<pre>inspect:context||() as element(context)}}</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
|- valign="top"
| width='120' | '''SignaturesSignature'''|{{Func|<pre>inspect:module|( $uri as xs:string|) as element(module)}}</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
|- valign="top"
| width='120' | '''SignaturesSignature'''|{{Func|<pre>inspect:xqdoc|( $uri as xs:string|) as element(xqdoc:xqdoc)}}</pre>
|- valign="top"
| '''Summary'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu