Documentation
    Preparing search index...

    Function verifyFlight

    • Verifies if the given flights exist in the flights data for the specified agency.

      Parameters

      • agency: string

        The agency for which the flights data should be loaded.

      • flights: any[]

        An array of flights to be verified.

      • aegean: boolean = false
      • decodedToken: {} = {}
      • agenceInfo: {} = {}

      Returns Promise<boolean>

      • A promise that resolves to true if all flights are found, otherwise false.