@squawk
    Preparing search index...

    Interface AirspaceByIdentifierOptions

    Options accepted by AirspaceResolver.byIdentifier.

    interface AirspaceByIdentifierOptions {
        includeArtcc?: boolean;
        types?: ReadonlySet<AirspaceType>;
    }
    Index

    Properties

    includeArtcc?: boolean

    When true (the default), ARTCC features for the identifier are included alongside the airport-associated and SUA features. When false, ARTCC features are excluded - useful when you only want the non-ARTCC partition for an identifier without enumerating every non-ARTCC type yourself.

    Ignored when types is provided: types is the authoritative inclusion list in that case.

    types?: ReadonlySet<AirspaceType>

    Optional set of airspace types to include in the results. When provided, acts as an inclusion filter and overrides the partition between ARTCC and non-ARTCC features: callers who want ARTCC results in addition to the usual partition include 'ARTCC' in this set explicitly, and callers who want only non-ARTCC results pass a set of the non-ARTCC types. When omitted, every type is eligible (subject to includeArtcc).