Changes

Jump to navigation Jump to search
647 bytes added ,  12:39, 15 November 2019
no edit summary
=Documentation=
 
{{Mark|Introduced with Version 9.3:}}
 
==inspect:type==
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|inspect:type|$value as item()*|xs:string}}
|-
| '''Summary'''
|Returns the type of a value as string:
* The string representation includes the occurrence indicator.
* The actual type of a value may be the stricter than the returned type.
|-
| '''Examples'''
|{{Code|inspect:type(1 to 100)}} returns {{Code|xs:integer+}}
|{{Code|inspect:type(map { 'a': (1, 2)[. = 1] })}} returns {{Code|map(*)}} (a stricter type representation would be {{Code|map(xs:string, xs:string}}))
|}
==inspect:function==
=Changelog=
 
;Version 8.5
* Added: [[#inspect:type|inspect:type]]
;Version 8.5
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu