def Source.is_own

bend-lint-api@0.2.0.0 · linter/lint.bend:834

import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
import Base

834def Source.is_own(source: Source) -> Bool:
835  match source:
836    case Source{path, namespace, text, nodes}:
837      Bool.not(String.starts_with(namespace, "0x"))

Uses (4)

Used by (1)