Array class.| Fields Inherited From Array |
|---|
| length |
| Method Summary | |
|---|---|
| void | Appends the contents of a to this array. |
| boolean | Returns true if o is in this array. |
| void | Calls fct for each element in this array. |
| boolean | Returns true if the contents of this array equal the contents of a. |
| jsx3.$Array | Creates a new array with the filtered contents of this array. |
| Object | Returns the first element in this array for which fct returns true when passed the element as
the sole parameter. |
| int | Returns the first index of o in this array. |
| jsx3.$Array | Creates a new array using the mapped values of each element in this array. |
| Object | Removes the first occurrence of o in this array. |
| jsx3.$Array | unique() Returns a list containing only the unique elements in this list. |
| Methods Inherited From Array |
|---|
| clone, concat, contentsEqual, join, lastIndexOf, pop, push, pushAll, reverse, shift, slice, sort, splice, toString, unshift |
| Method Detail |
|---|
a to this array.o is in this array. This method uses strict equality for comparing objects
(===).fct for each element in this array. fct is passed each element as the
sole parameter.a.fct is called for
each element in this array and the element is passed as the sole argument. The new array is constructed with
only the elements of this array for which fct returns true.fct returns true when passed the element as
the sole parameter.o in this array. This method uses strict equality for comparing objects
(===).fct is called for
each element in this array and the element is passed as the sole argument. The new array is constructed with
the return values of each call to fct.
sole parameter.o in this array. This method uses strict equality for comparing objects
(===).undefined if o is not in this array.