MCPcopy Index your code
hub / github.com/WebThingsIO/webthing-node / setValue

Method setValue

lib/property.ts:132–135  ·  view source on GitHub ↗

* Set the current value of the property. * * @param {*} value The value to set

(value: ValueType)

Source from the content-addressed store, hash-verified

130 * @param {*} value The value to set
131 */
132 setValue(value: ValueType): void {
133 this.validateValue(value);
134 this.value.set(value);
135 }
136
137 /**
138 * Get the name of this property.

Callers 1

setPropertyMethod · 0.80

Calls 2

validateValueMethod · 0.95
setMethod · 0.80

Tested by

no test coverage detected