MCPcopy Create free account
hub / github.com/clojure-rs/ClojureRS / try_read_i32

Function try_read_i32

src/reader.rs:408–410  ·  view source on GitHub ↗

@TODO make sure whitespace or 'nothing' is at the end, fail for float like numbers Tries to parse &str into Value::I32 Expects: Integers Example Successes: 1 => Value::I32(1), 5 => Value::I32(5), 1231415 => Value::I32(1231415) -2 => Value::I32(-2) Example Failures: 1.5, 7.1321 , 1423152621625226126431525

(input: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

to_value_parserFunction · 0.85

Tested by

no test coverage detected