MarkLogic Server 11.0 Product Documentation
json:array-sizejson:array-size(
$array as json:array?
) as xs:unsignedLong?
Summary
Returns the size of the array.
Parameters |
array |
An array.
|
Example
json:array-size(json:to-array(("a","b")))
=> 2
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.