Cli.var_set: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5070-5074 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5070&end_line=5074 import Base # An empty variable counts as unset. def var_set(found: Maybe<&2, String>) -> Bool: match found: case None{}: False{} case Some{value}: Bool.not(String.is_empty(value)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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.is_empty