getPrevId
returns the ID of an item that is before the specified item, either directly before or before a number of items (defined by the step)
function getPrevId( // the item ID id: number|string, // the step (by default, 1) step?: number): id
Returns
Section titled “Returns”id
the item ID