mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-24 08:21:39 +00:00
7 lines
219 B
JavaScript
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));
|
|
}
|