MCPcopy Index your code
hub / github.com/evcc-io/evcc / BoolSetter

Method BoolSetter

plugin/javascript.go:218–222  ·  view source on GitHub ↗

BoolSetter sends bool request

(param string)

Source from the content-addressed store, hash-verified

216
217// BoolSetter sends bool request
218func (p *Javascript) BoolSetter(param string) (func(bool) error, error) {
219 return func(val bool) error {
220 return p.handleSetter(param, val)
221 }, nil
222}

Callers

nothing calls this directly

Calls 1

handleSetterMethod · 0.95

Tested by

no test coverage detected