MCPcopy
hub / github.com/json-editor/json-editor / add

Method add

docs/scripts/ajv-validator.js:1140–1142  ·  view source on GitHub ↗
(lhs, rhs)

Source from the content-addressed store, hash-verified

1138 }
1139 // `+=` code
1140 add(lhs, rhs) {
1141 return this._leafNode(new AssignOp(lhs, exports.operators.ADD, rhs));
1142 }
1143 // appends passed SafeExpr to code or executes Block
1144 code(c) {
1145 if (typeof c == "function")

Callers 15

getButtonMethod · 0.80
getLinkMethod · 0.80
constructorMethod · 0.80
loadMethod · 0.80
getOptInCheckboxMethod · 0.80
getModalMethod · 0.80
getGridRowMethod · 0.80
getInfoButtonMethod · 0.80
getFormInputLabelMethod · 0.80
getLabelLikeMethod · 0.80
getHeaderMethod · 0.80

Calls 1

_leafNodeMethod · 0.95

Tested by

no test coverage detected