Skip to main content

ZoneListIterator Experimental

The ZoneListIterator class provides sequential iteration over a ZoneList.

import { ZoneListIterator } from kontakt
export class ZoneListIterator {
has_next: Bool { get }

next() -> Zone
}

This class was introduced as an experimental feature in Kontakt 8.10.

Constructors

None. This class cannot be instantiated directly. Instances are returned by ZoneList.iterator.

Properties

has_next: Bool (get)

Whether the iterator has more zones to yield.

Methods

next() -> (Zone)

Advances the iterator and returns the next Zone.