def Num.int

bend-kube-runtime@0.2.0.0 · src/yaml.bend:370

import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yaml
import Base

370# The integer digits without leading zeros, "0" for none.
371def Num.int(cs: List<&2, Char>) -> String:
372  match cs:
373    case Nil{}:
374      "0"
375    case Con{'0', t}:
376      Num.int(t)
377    case Con{c, t}:
378      String.from_list(Con{c, t})

Uses (8)

Used by (1)