Home Manual Reference Source

Variable

Static Public Summary
public

list(iterable: Iterable): Array: *

Returns an array containing all elements of the input iterable.

Static Public

public list(iterable: Iterable): Array: * source

Returns an array containing all elements of the input iterable.

Return:

Array

The output Array.

Example:

// return [0,1,2]
list( range( 3 ) ) ;