(val)
| 467 | } |
| 468 | |
| 469 | function handleArray(val) { |
| 470 | var _this = this; |
| 471 | if (!Array.isArray(val)) { |
| 472 | return [this.castForQuery(val)]; |
| 473 | } |
| 474 | return val.map(function(m) { |
| 475 | return _this.castForQuery(m); |
| 476 | }); |
| 477 | } |
| 478 | |
| 479 | SchemaString.prototype.$conditionalHandlers = |
| 480 | utils.options(SchemaType.prototype.$conditionalHandlers, { |
nothing calls this directly
no outgoing calls
no test coverage detected