def Scope.has

bend-lint-pack@0.1.1.0 · common.bend:455

import bend-lint-pack@0.1.1.0/common.bend as Common
import Base
import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint

455def Scope.has(scope: Scope, span: Maybe<&2, Lint.Span>) -> Bool:
456  match scope:
457    case Scope{imports, root}:
458      Bool.or(imports, in_root(root, span))

Uses (6)

Used by (1)