getLearnedCount function exported ✓ 100.0%
Last updated: 2026-02-25T14:02:03.587Z
Location
Metrics
LOC: 3
Complexity: 1
Params: 0
Coverage: 100.0% (1/1 lines, 6x executed)
Signature
getLearnedCount(): : Promise<number>
Summary
Return the count of stored entries without loading all data.
Source Code
export async function getLearnedCount(): Promise<number> {
return (await getLearnedEntries()).length;
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| getLearnedEntries | calls |
Impact (Incoming)
| Source | Type |
|---|---|
| retrainLearnedFromRules | calls |
| makeEntry | uses |