Lint.option_text_or: def of bend-lint-pack@0.1.1.0 Import: import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint Lines 218-227 of bend-lint-pack@0.1.1.0/vendor/lint.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-pack@0.1.1.0/vendor/lint.bend&start_line=218&end_line=227 import Base def option_text_or(m: Maybe<&2, Value>, default: String) -> String: match m: case Some{OptionText{t}}: t case Some{OptionNum{n}}: default case Some{OptionFlag{b}}: default case None{}: default Uses (3): 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=bend-lint-pack@0.1.1.0/vendor/lint.bend&name=Value