def as_num
import emerging-ezjson@1.3.0.0/src/value.bend as Valueimport Base
484# a number's text, or none when the value is not a number
485def as_num(val: Json) -> Maybe<&2, String>:
486 match val:
487 case JNum{raw}:
488 Some{raw}
489 case other:
490 None{}