@squawk
    Preparing search index...

    Function isEmergencyAircraft

    • Whether aircraft is in an emergency: an emergency squawk code, a declared emergency state, or a currently-active ACAS/TCAS Resolution Advisory. Any one of the three is sufficient - they arrive on different messages, and from different sources (see the README's "Field population by source" section), so they are not expected to always agree.

      Parameters

      • aircraft: Aircraft

        The aircraft to check.

      Returns boolean

      True if any of the three emergency signals is present.