Type guard that narrows a string to AirwayDirection when it matches a member of AIRWAY_DIRECTIONS.
The string to test.
true if value is a valid AirwayDirection.
true
value
AirwayDirection
Type guard that narrows a string to AirwayDirection when it matches a member of AIRWAY_DIRECTIONS.