def or_else

ezx@1.11.0.0 · src/share/env.bend:10

import ezx@1.11.0.0/src/share/env.bend as Env
import Base

10# a value, or the fallback when the variable was unset or empty
11def or_else(+value: String, +alt: String) -> String:
12  Bool.pick(String, String.is_empty(value), alt, value)

Uses (3)

Used by (1)