def drop.active

cswap-bend-cli@0.1.0.0 · profile.bend:298

import cswap-bend-cli@0.1.0.0/profile.bend as Profile
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

298def drop.active(+is_active: Bool, +raw: Json.Json) -> Json.Json:
299  match is_active:
300    case True{}:
301      Json.del("active_profile", raw)
302    case False{}:
303      raw

Uses (3)

Used by (1)