def is_live

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

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

421# Whether a node below `path` is in live code: a definition's body, outside types: an annotation's type, an equality, a
422# function or pair type, a type's arguments. Types and equations are dead: the checker sees them, the program does not
423# run them.
424def is_live(path: List<&2, Above>) -> Bool:
425  is_live.go(path, True{})

Uses (4)

Used by (9)