def belongs

near-v-framework@0.4.0.0 · domain/architecture/system/deployment/nix_darwin/ops.bend:120

import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/type.bend as ND

120def belongs(l: ND.Listening, +keys: List<&2, String>) -> Bool:
121  match l:
122    case ND.Listening{_, +o}:
123      String.eq(o, "macos") || List.contains(~String, ~String.eq, keys, o)

Uses (7)

Used by (1)