MCPcopy
hub / github.com/cortexlabs/cortex / Bool

Function Bool

pkg/lib/strings/stringify.go:31–33  ·  view source on GitHub ↗
(val bool)

Source from the content-addressed store, hash-verified

29)
30
31func Bool(val bool) string {
32 return strconv.FormatBool(val)
33}
34
35func Float32(val float32) string {
36 str := strconv.FormatFloat(float64(val), 'f', -1, 32)

Callers 1

strIndentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected