def keep_if
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/azure/ops.bend as Opsimport Base
7def keep_if(c: Bool, x: String, rest: List<&2, String>) -> List<&2, String>:
8 match c:
9 case True{}:
10 x <> rest
11 case False{}:
12 rest