MCPcopy Create free account
hub / github.com/corestoreio/pkg / IsBool

Function IsBool

util/validation/validator.go:402–408  ·  view source on GitHub ↗

IsBool check if the string is a bool. Empty string is valid.

(str string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestIsBoolFunction · 0.85

Calls 1

IsNullFunction · 0.85

Tested by 1

TestIsBoolFunction · 0.68