def is_str.of
import ezmcp@0.1.0.0/src/openapi.bend as Openapiimport Base
209def is_str.of(text: Maybe<&2, String>, +str: String) -> Bool:
210 match text:
211 case None{}:
212 False{}
213 case Some{got}:
214 String.eq(got, str)
import ezmcp@0.1.0.0/src/openapi.bend as Openapiimport Base
209def is_str.of(text: Maybe<&2, String>, +str: String) -> Bool:
210 match text:
211 case None{}:
212 False{}
213 case Some{got}:
214 String.eq(got, str)