Openapi.full: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/openapi.bend as Openapi Lines 177-183 of ezmcp@0.1.0.0/src/openapi.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/openapi.bend&start_line=177&end_line=183 import Base # a string when it is not empty, as JavaScript's `||` takes it def full(text: Maybe<&2, String>) -> Maybe<&2, String>: match text: case None{}: None{} case Some{+str}: Bool.pick(Maybe<&2, String>, String.is_empty(str), None{}, Some{str}) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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