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

Function ToBoolE

util/conv/caste.go:78–149  ·  view source on GitHub ↗

ToBoolE casts an empty interface to a bool. If a type implements function ToBool() bool this function will get called.

(i interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestToBoolFunction · 0.85
ToBoolFunction · 0.85

Calls 2

indirectFunction · 0.85
ToBoolMethod · 0.65

Tested by 1

TestToBoolFunction · 0.68