def has_any
import bend-lint-api@0.2.0.0/shared/sets.bend as Setsimport Base
7# Whether one of `keys` is in `set`, or `found`.
8def has_any(keys: List<&2, String>, +set: Set(), found: Bool) -> Bool:
9 match keys found:
10 case _ True{}:
11 True{}
12 case Nil{} False{}:
13 False{}
14 case Con{key, rest} False{}:
15 has_any(rest, set, has(set, key))