def dflt_of

cswap-bend-cli@0.1.0.0 · setcmd.bend:142

import cswap-bend-cli@0.1.0.0/setcmd.bend as Setcmd
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/settings.bend as Settings

142def dflt_of(sp: Settings.Spec) -> Json.Json:
143  match sp:
144    case Settings.Spec{section, key, kind, lo, hi, choices, dflt}:
145      dflt

Uses (2)

Used by (1)