MCPcopy Index your code
hub / github.com/bitnbytesio/node-input-validator / inputVal

Method inputVal

lib/validator.js:232–240  ·  view source on GitHub ↗
(field, multiple = false)

Source from the content-addressed store, hash-verified

230 }
231
232 inputVal(field, multiple = false) {
233 let val = this.inputs[field] || '';
234
235 if (multiple == true) {
236 val = this.parseKey(field, this.inputs);
237 }
238
239 return this.parseKey(field, this.inputs);
240 }
241
242 /**
243 *

Callers 1

validateMethod · 0.80

Calls 1

parseKeyMethod · 0.95

Tested by

no test coverage detected