def is.v2
import ezmcp@0.1.0.0/src/rpc.bend as Rpcimport Base
105def is.v2(meth: Maybe<&2, String>) -> Bool:
106 match meth:
107 case None{}:
108 False{}
109 case Some{s}:
110 String.eq(s, "2.0")
import ezmcp@0.1.0.0/src/rpc.bend as Rpcimport Base
105def is.v2(meth: Maybe<&2, String>) -> Bool:
106 match meth:
107 case None{}:
108 False{}
109 case Some{s}:
110 String.eq(s, "2.0")