Update script.go

This commit is contained in:
andig 2020-05-21 12:28:25 +02:00 • committed by GitHub
parent 2d64086086
commit 458b501696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ func (e *Script) FloatGetter(script string) FloatGetter {
}
}
// BoolGetter parses bool from exec result. "on", "true" and 1 are considerd truish.
// BoolGetter parses bool from exec result. "on", "true" and 1 are considered truish.
func (e *Script) BoolGetter(script string) BoolGetter {
exec := e.StringGetter(script)