package strconvext
import "github.com/go-playground/pkg/v5/strconv"
Index ¶
Functions ¶
func ParseBool ¶
ParseBool returns the boolean value represented by the string. It extends the std library parse bool with a few more valid options.
It accepts 1, t, T, true, TRUE, True, on, yes, ok as true values and 0, f, F, false, FALSE, False, off, no as false.
Source Files ¶
- Version
- v5.27.0
- Published
- Jan 29, 2024
- Platform
- darwin/amd64
- Imports
- 1 packages
- Last checked
- 1 hour ago –
Tools for package owners.