def esign

emerging-ezjson@1.3.0.0 · src/fixed.bend:70

import emerging-ezjson@1.3.0.0/src/fixed.bend as Fixed
import Base

70# an exponent's sign and digits
71def esign(txt: String) -> Bool & String:
72  match txt:
73    case SNil{}:
74      (False{}, "")
75    case SCon{+hd, tl}:
76      esign.at(Char.is_eq(hd, '-'), Char.is_eq(hd, '+'), hd, tl)

Uses (7)

Used by (1)