def is.v2

ezmcp@0.1.0.0 · src/rpc.bend:105

import ezmcp@0.1.0.0/src/rpc.bend as Rpc
import 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")

Uses (4)

Used by (2)