def is_v2

cswap-bend-cli@0.1.0.0 · ustore.bend:75

import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

75def is_v2(j: Json.Json) -> Bool:
76  match j:
77    case Json.JNum{t}:
78      String.eq(t, "2")
79    case _:
80      False{}

Uses (3)

Used by (1)