fromValue

Converts an integer value to a Direction.

Return

The corresponding Direction based on the given value.

Parameters

value

The integer value to convert.