Returns true if every element in the collection matches some conditional
The function used to check each element
A Promise wrapping a boolean stating whether or not the condition matched every element
Gets the first item in the collection
A Promise wrapping the retrieved value (null if no items in the collection)
Gets the last item in the collection
A Promise wrapping the retrieved value (null if no items in the collection)
Maps all elements of the collection over some function
The function to map to every element in the collection
A Promise wrapping the array returned
Fetches the next element in the collection, as well as whether or not iteration is done
The next element
Gets a random element from the collection
A Promise wrapping the retrieved value (null if no items in the collection)
Reduces the collection into some value
Similar to Array#reduce
The function used to reduce each element ()
The initial value for the accumulator
A Promise wrapping the final accumulator value
Returns true if some of the elements in the collection match some conditional function
The function used to check each element
A Promise wrapping a boolean stating whether or not the condition matched at least one element
Identical to map, but returns this instead of an array
The function to map over each element
The current collection
Generated using TypeDoc
A collection of tags - helpful for fetching a list of tags while only making enough HTTP requests to satisfy needs
TagCollection
{Collection<number, Tag>}