def first

ezmcp@0.1.0.0 · src/openapi.bend:185

import ezmcp@0.1.0.0/src/openapi.bend as Openapi
import Base

185# the first of two maybe strings that is there
186def first(lead: Maybe<&2, String>, next: Maybe<&2, String>) -> Maybe<&2, String>:
187  match lead:
188    case Some{str}:
189      Some{str}
190    case None{}:
191      next

Uses (2)

Used by (3)