warps
Gets the number of warps in a drawdown
Parameters
Drawdown
Returns
number
The number of warps or 0 if the provided drawdown is null or empty
Implementation
n will be assigned the number of warps in d. This function is shorthand that can be used instead of calling d[0].length.