package
Version:
v2.0.4
Opens a new window with list of versions in this module.
Published: Jul 3, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IsStringUint returns true if all characters in the string are integers
without checking for MaxInt overflow
SafeAdd returns (a + b, true) if the sum value wouldn't overflow MaxInt.
Otherwise (a, false) is returned.
SafeAdd64 returns (a + b, true) if the sum value wouldn't overflow MaxInt64.
Otherwise (a, false) are returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.