| Functions |
combine(array,array) - Combines two arrays into a single array |
del(array,void) - Deletes an item from an array |
each(array) - This function takes a closure and applies it to each element within the array |
eachWithIndex(array) - This function takes a closure and applies it to each element within the array providing the index as the second parameter. |
find(array,string) - Locates an item in an array by value and returns its index number |
getIndex(array,string) - Finds the index number of an array item from its key string |
getName(array,number) - Finds the key string of an array item |
intersect(array,array) - Calculates the intersection of two arrays |
join(array,string) - Converts an array to a string with a specified string between the items |
keyExists(array,string) - Discovers whether there is an item with a particular key in an array |
keys(array) - Returns an array of strings representing the keys in the array |
last(array) - Fetch the last value within the array. |
map(array) - This function takes a closure and applies it to each named element within the array |
pop(array) - Pops a variable from the end of an array |
print(array) - Dumps an array to stdout |
push(array,void) - Pushes a variable onto the end of an array |
resize(array,number) - Resize the array that is being used. |
shift(array) - Shifts a variable from the start of an array |
size(array) - Returns the number of items that are in an array |
sort(array,number) - Sorts an array |
sort(array) - Sorts an array in an ascending direction |
subtract(array,array) - Subtracts array b from array a |
union(array,array) - Calculates the union of two arrays |
unshift(array,void) - Shifts a variable onto the start of an array |
valueExists(array,void) - Discovers whether there is an item with a particular value in an array |