def is_str
import ezmcp@0.1.0.0/src/openapi.bend as Openapiimport Base
import emerging-ezjson@1.2.0.0/main.bend as Json
import emerging-ezjson@1.2.0.0/src/value.bend as Value
216# whether a value is the string `str`
217def is_str(val: Value.Json, +str: String) -> Bool:
218 is_str.of(Json.as_str(val), str)