def is_active

cswap-bend-cli@0.1.0.0 · profview.bend:27

import cswap-bend-cli@0.1.0.0/profview.bend as Profview
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/profile.bend as P

27# `default` is the active profile while `active_profile` is unset.
28def is_active(+raw: Json.Json, +name: String) -> Bool:
29  is_active.of(P.active(raw), name)

Uses (5)

Used by (2)