hashbrown

DetectionResult

Result of a platform/environment detection probe.

API

export type DetectionResult =
  | {
      ok: true;
    }
  | {
      ok: false;
      code: "PLATFORM_UNSUPPORTED" | "MODEL_UNAVAILABLE";
      reason?: string;
    };