def sign.obj

bend-kit-jwt@0.11.0.1 · jwt.bend:575

import bend-kit-jwt@0.11.0.1/jwt.bend as Jwt
import Base
import bend-kit-json@0.7.0.0/json.bend as Json

575# verify accepts only an object with no repeated names, so sign makes no other kind.
576def sign.obj(m: Maybe<&1, Json.Val>) -> Bool:
577  match m:
578    case Some{Json.Obj{kvs}}:
579      True{}
580    case _:
581      False{}

Uses (3)

Used by (1)