def json_keep
import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sessimport Base
351def json_keep(+ok: Bool, +h: String, +rest: List<&2, String>) -> List<&2, String>:
352 match ok:
353 case True{}:
354 h <> rest
355 case False{}:
356 rest