def arg

ezmcp@0.1.0.0 · src/openapi.bend:1072

import ezmcp@0.1.0.0/src/openapi.bend as Openapi
import Base
import emerging-ezjson@1.2.0.0/main.bend as Json
import emerging-ezjson@1.2.0.0/src/value.bend as Value

1072# an argument's value when it is there and not null
1073def arg(+args: Value.Json, +name: String) -> Maybe<&2, Value.Json>:
1074  arg.at(Json.has(args, name), Json.get(args, name))

Uses (6)

Used by (2)