package strconv
import "internal/runtime/strconv"
Index ¶
- func Atoi(s string) (int, bool)
- func Atoi32(s string) (int32, bool)
- func Atoi64(s string) (int64, bool)
Functions ¶
func Atoi ¶
Atoi is like Atoi64 but for integers that fit into an int.
func Atoi32 ¶
Atoi32 is like Atoi but for integers that fit into an int32.
func Atoi64 ¶
Atoi64 parses an int64 from a string s. The bool result reports whether s is a number representable by a value of type int64.
Source Files ¶
- Version
- v1.25.0-rc.1
- Published
- Jun 11, 2025
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 1 minute ago –
Tools for package owners.