Global

Type Definitions

userCompareFn(arg1, arg2)

A user supplied callback function used to order elements in the collection.

Parameters:
Name Type Description
arg1 *

element existing in collection

arg2 *

element to be added

Source:
Returns:

Should return negative integer, zero, or a positive integer as the first argument is greater than, equal to, or less than the second