JanetDocs
Playground
I'm feeling lucky
GitHub sign in
Run
Format
(scan-number "123") # => 123 (scan-number "f") # => nil (scan-number 123) # => # error: bad slot #0, expected string|symbol|keyword|buffer, got 123 # in scan-number # in _thunk [repl] (tailcall) on line 1, column 1