Whose pick is it
whose_turnDetermine which pick is currently on the clock in a draft, adjusting for snake-draft orders and third-round reversal, and optionally check if it's your turn and picks until your next selection.
Instructions
Compute the pick currently on the clock from the number of picks made, using snake-draft math (honours linear drafts and third-round reversal). Pass my_roster_id to get an on_the_clock flag and picks-until-your-next-turn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| my_roster_id | No | Your roster_id in the league; enables the 'you' fields. |