Type guard that narrows a string to AirwayType when it matches a member of AIRWAY_TYPES.
Useful when consuming external strings (URL params, config files, MCP tool inputs) that should be validated before being used as an airway type.
The string to test.
true if value is a valid AirwayType.
true
value
AirwayType
Type guard that narrows a string to AirwayType when it matches a member of AIRWAY_TYPES.
Useful when consuming external strings (URL params, config files, MCP tool inputs) that should be validated before being used as an airway type.