json:array-size( $array as json:array? ) as xs:unsignedLong?
Returns the size of the array.
Parameters | |
---|---|
array | An array. |
json:array-size(json:to-array(("a","b"))) => 2
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.