def keep_all

near-v-framework@0.4.0.0 · domain/architecture/ops.bend:356

import near-v-framework@0.4.0.0/domain/architecture/ops.bend as Ops
import Base

356def keep_all(c: Bool, xs: List<&2, String>, rest: List<&2, String>) -> List<&2, String>:
357  match c:
358    case True{}:
359      List.append(&2, String, xs, rest)
360    case False{}:
361      rest

Uses (4)

Used by (4)