def val

bend-toon-codec@0.1.0.0 · src/entry.bend:34

import bend-toon-codec@0.1.0.0/src/entry.bend as Entry
import Base

34# The text after the colon of `key:`.
35def val(+k: String, +v: String) -> Result<&2, &2, String, Ent>:
36  val.pick(String.is_empty(String.trim(v)), String.eq(String.trim(v), "[]"), k, String.trim(v))

Uses (7)

Used by (2)