def item.at

ezmcp@0.1.0.0 · src/openapi.bend:998

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

998def item.at(
999  hit: Bool,
1000  +doc: Value.Json,
1001  +path: String,
1002  +method: String,
1003  +ips: List<&2, Value.Json>,
1004  +oper: Value.Json,
1005  rest: List<&2, Op>
1006) -> List<&2, Op>:
1007  match hit:
1008    case True{}:
1009      op(doc, path, method, ips, oper) <> rest
1010    case False{}:
1011      rest

Uses (6)

Used by (1)