Loading TOC...

ValueIterator.count

ValueIterator.count as Number

Summary

[DEPRECATED: Only available for type checking; use Sequence instead.] Return a count of how many values are in the iterator.

Usage Notes

Deprecated.

Example

// How many lines in the song?
const node = cts.doc("song.xml");
node.xpath(".//LINE").count;

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.