TAKPacket-SDK — TypeScript - v0.7.0
    Preparing search index...

    Function isAircraftString

    • Classify whether a CoT type string denotes an aircraft.

      The rule (per the wire spec): the 3rd hyphen-separated atom of the type string is the Air battle-dimension indicator "A" (e.g. a-f-A-M-H, a-n-A-C-F). Works on unknown/unmapped type strings, which is why the parser path uses it directly when the enum is COTTYPE_OTHER.

      Parameters

      • s: string

        The full CoT type string.

      Returns boolean

      true if the 3rd atom is "A", false otherwise.