def degree.go

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

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

419def degree.go(is_def: Bool, names: List<&2, String>, nodes: Set()) -> U32:
420  match is_def:
421    case True{}:
422      Count.n(distinct(names, nodes, Count{Set.new(), 0}))
423    case False{}:
424      0

Uses (9)

Used by (1)