def Program.callers.if

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

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

982def Program.callers.if(found: Bool, t: String, callers: Set()) -> Set():
983  match found:
984    case True{}:
985      Set.add(callers, t)
986    case False{}:
987      callers

Uses (4)

Used by (1)