Skip to content

learningMatchesScope

learningMatchesScope(learning, paths): boolean

Defined in: src/house-rules.ts:172

True when learning is scoped (has globs) and at least one glob matches at least one of paths. Always-rules (no globs) and an empty path set never match.

Learning

string[]

boolean