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