def is_slot

cswap-bend-cli@0.1.0.0 · daemon/view.bend:119

import cswap-bend-cli@0.1.0.0/daemon/view.bend as View
import Base

119def is_slot(+active: Maybe<&2, String>, +slot: String) -> Bool:
120  match active:
121    case Some{a}:
122      String.eq(a, slot)
123    case None{}:
124      False{}

Uses (4)

Used by (2)