MCPcopy Index your code
hub / github.com/json-editor/json-editor / getValue

Method getValue

src/editors/string.js:311–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

309 }
310
311 getValue () {
312 const hasValueSet = !!(this.input && this.input.value)
313
314 if (this.shouldBeUnset() && !hasValueSet) {
315 return undefined
316 }
317 if (this.imask_instance && this.dependenciesFulfilled && this.options.imask.returnUnmasked) {
318 return this.imask_instance.unmaskedValue
319 } return super.getValue()
320 }
321
322 enable () {
323 if (!this.always_disabled) {

Callers 1

setValueMethod · 0.95

Calls 1

shouldBeUnsetMethod · 0.95

Tested by

no test coverage detected