Array
API documention for the Prototype Array.
Prototype for the primitve array[] type.
Source code
Usage
var instance = new Array(args);
...
instance.method(args);
Index
Constructor

Takes any number of arguments, types can be mixed.
Variables
-- No Variables --
Getters & Setters
Methods

Returns whether all items in the array conform to a constraint.

If the array contains any items matching the search.
Signatures:
Return: bool
Usage: var result = a.any();

Returns the amount of items in the array that match the search.
Signatures:
Return: int
Usage: var result = a.count();

Returns the first item in the array that matches the search or undefined for no match.
Signatures:
Return: any
Usage: var result = a.first();

Determines whether the array includes an item.
Comparer example:
a.includes(item, (a, b) => { a.id == b.id; });
Signatures:

Returns the last item in the array that matches the search or undefined for no match.
Signatures:
Return: any
Usage: var result = a.last();

Removes the last item from the array and returns it.
Return: any
Usage: var result = a.pop();

Adds items to the end of the array.

Transforms all elements of the array with a transformation function.

Finds a single item within the array and returns it.
Signatures:
Return: any
Usage: var result = a.single();

Filters the array with the given search.