Files
openclaw/scripts/test-update-memory-hotspots-utils.mjs
2026-03-23 05:25:05 +00:00

7 lines
219 B
JavaScript

export function matchesHotspotSummaryLane(lane, targetLane, lanePrefixes = []) {
if (lane === targetLane) {
return true;
}
return lanePrefixes.some((prefix) => prefix.length > 0 && lane.startsWith(prefix));
}