hasRuntimeModel function domain exported
Last updated: 2026-02-24T19:46:21.733Z
Metrics
LOC: 4
Complexity: 1
Params: 0
Signature
hasRuntimeModel(): : Promise<boolean>
Summary
Returns true if a runtime-trained model exists in storage.
Source Code
export async function hasRuntimeModel(): Promise<boolean> {
const result = await chrome.storage.local.get(RUNTIME_MODEL_KEY);
return !!result[RUNTIME_MODEL_KEY];
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| RUNTIME_MODEL_KEY | dynamic_call |
Impact (Incoming)
| Source | Type |
|---|---|
| handle | uses |