Rpc.back.has: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/rpc.bend as Rpc Lines 265-279 of ezmcp@0.1.0.0/src/rpc.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/rpc.bend&start_line=265&end_line=279 import Base import emerging-ezjson@1.2.0.0/src/value.bend as Value def back.has( id: Value.Json, has_result: Bool, result: Value.Json, has_error: Bool, code: Maybe<&2, String>, message: Maybe<&2, String> ) -> Reply: match has_result has_error: case True{} False{}: Got{id, result} case False{} True{}: back.refused(id, code, message) case r e: Unread{"a reply must hold exactly one of result and error"} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/value.bend&name=Json https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/rpc.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/rpc.bend&name=back.refused