SortedArray.pull Method

Remove a value from the sorted array, and sort.
 

Parameters

value
compareFunction

Type: Function
(Optional) function used to compare items, whose first argument is item.
Optional: True

Return Value


Type: number
The index of the item removed.