Skip to main content

read_nat

Function read_nat 

Source
pub fn read_nat(value: &Value) -> Result<u64, Error>
Expand description

A Nat from its text. A sign makes a number an Int, which is never a Nat, as in check, and a number that is too large for a u64 is an error at it.