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

Method setParam

plugin/javascript.go:177–179  ·  view source on GitHub ↗
(param string, val any)

Source from the content-addressed store, hash-verified

175}
176
177func (p *Javascript) setParam(param string, val any) error {
178 return p.vm.Set(param, val)
179}
180
181// setParamSync is the synchronized version of setParam
182func (p *Javascript) setParamSync(param string, val any) error {

Callers 2

handleSetterMethod · 0.95
setParamSyncMethod · 0.95

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected