def is_active

cswap-bend-cli@0.1.0.0 · collect.bend:79

import cswap-bend-cli@0.1.0.0/collect.bend as Collect
import Base

79def is_active(m: Maybe<&2, String>, +slot: String) -> Bool:
80  match m:
81    case Some{s}:
82      String.eq(s, slot)
83    case None{}:
84      False{}

Uses (4)

Used by (1)