MCPcopy Index your code
hub / github.com/labstack/echo / Bool

Method Bool

binder.go:917–919  ·  view source on GitHub ↗

Bool binds parameter to bool variable

(sourceParam string, dest *bool)

Source from the content-addressed store, hash-verified

915
916// Bool binds parameter to bool variable
917func (b *ValueBinder) Bool(sourceParam string, dest *bool) *ValueBinder {
918 return b.boolValue(sourceParam, dest, false)
919}
920
921// MustBool requires parameter value to exist to bind to bool variable. Returns error when value does not exist
922func (b *ValueBinder) MustBool(sourceParam string, dest *bool) *ValueBinder {

Callers 3

TestValueBinder_BoolFunction · 0.80

Calls 1

boolValueMethod · 0.95

Tested by 3

TestValueBinder_BoolFunction · 0.64