This function calculates a direction, based on an input parameter 'direction'.
A number or string input that represents the initial direction value. This is then processed to calculate the final direction.
direction - The calculated direction value in form of a string. It can be either 'max' or 'min'.
Generated using TypeDoc
This function calculates a direction, based on an input parameter 'direction'.