Std.Toml.Scan.digitsIn
1 declaration
fn
digitsIn: Str -> Str -> Int -> Option[Int]This is a callable function.
What it does
The number a run of digits names in a base, or nothing when a character is
not a digit of it or the digits name more than an Int holds.
A configuration file is read on behalf of whoever wrote it, and one value
too large to hold must not stop the program reading it; the word is then
kept as written, as every other word that is not a whole number is.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- Names inside [ ] are type arguments, such as the item type held by a collection.
- Option holds Some(value) or None when no value is available.
