JavaScriptKit Documentation

Class JSArray.‚ÄčIterator

public class Iterator: IteratorProtocol  

Iterator type for JSArray, conforming to IteratorProtocol from the standard library, which allows easy iteration over elements of JSArray instances.

%143 JSArray.Iterator JSArray.Iterator IteratorProtocol IteratorProtocol JSArray.Iterator->IteratorProtocol

Member Of

JSArray

A wrapper around the JavaScript Array class that exposes its properties in a type-safe and Swifty way.

Conforms To

IteratorProtocol

Methods

next()

public func next() -> Element?