def var_set

cli@0.2.0.0 · cli.bend:5070

import cli@0.2.0.0/cli.bend as Cli
import Base

5070# An empty variable counts as unset.
5071def var_set(found: Maybe<&2, String>) -> Bool:
5072  match found:
5073    case None{}: False{}
5074    case Some{value}: Bool.not(String.is_empty(value))

Uses (5)

Used by (1)