edilkamin
    Preparing search index...

    Function deriveChronoMode

    • Derives the Chrono mode status from an existing DeviceInfo response. This is a pure function that extracts data without API calls.

      Note: The API field is spelled "is_crono_active" (typo in original API).

      Parameters

      Returns boolean

      • Whether Chrono mode is active.
      const info = await api.deviceInfo(token, mac);
      const isChronoActive = deriveChronoMode(info);