Product SiteDocumentation Site

6.13. jn:size

This function returns the size of the supplied array using the jdm:size accessor (or the empty sequence if the empty sequence is provided).
jn:size(array()?) as xs:integer?
Example 6.9. Retrieving the size of an array
          let $a := [1 to 10]
          return jn:size($a)
Result:
10