| '''Summary'''
|Generates an element that describes all variables and functions in the current context.
|-
|'''Examples'''
|An example is [[#Examples|shown below]].
|}
|-
|'''Examples'''
|An example is [[#Examples|shown below]].The following query returns <code>42</code>:<pre class="brush:xquery">declare %private function local:solution() { 42 };for $f in inspect:context-functions() return $f()</pre>
|}