Profview.is_active.of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/profview.bend as Profview Lines 20-25 of cswap-bend-cli@0.1.0.0/profview.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/profview.bend&start_line=20&end_line=25 import Base def is_active.of(+a: Maybe<&2, String>, +name: String) -> Bool: match a: case Some{x}: String.eq(x, name) case None{}: String.eq(name, "default") Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq