Methods
entries() → {external:"intersystems-iris-native".Iterator}
set the iterator return type to return entries where each value is an array containing the subscript and node value, returns This() for chaining.
Returns:
keys() → {external:"intersystems-iris-native".Iterator}
set the iterator return type to return keys only (subscripts), returns this() for chaining.
Returns:
next() → {any}
Position the iterator at the next sibling node in collation order and return an object containing done and value properties.
If the iterator is at end then done is true, otherwise it is false. The value property returned when done is false is either the subscript,
the node value, or an array whose first element is the subscript and the second is the global node value. The return value type
defaults to the array containing the subscript and value. The return type can be changed by invoking the entries(), keys(), or values() methods.
Returns:
- Type
- any
reversed() → {external:"intersystems-iris-native".Iterator}
reverse the iterator, returns this() for chaining.
Returns:
startFrom(subscript) → {external:"intersystems-iris-native".Iterator}
Position the iterator to start from subscript, returns this() for chaining.
Parameters:
Name | Type | Description |
---|---|---|
subscript |
string | the value of the subscript where the iterator is to be positioned |
Returns:
values() → {external:"intersystems-iris-native".Iterator}
set the iterator return type to return only values, returns this() for chaining.