(val, context)
| 628 | */ |
| 629 | |
| 630 | function handleArray(val, context) { |
| 631 | const _this = this; |
| 632 | if (!Array.isArray(val)) { |
| 633 | return [this.castForQuery(null, val, context)]; |
| 634 | } |
| 635 | return val.map(function(m) { |
| 636 | return _this.castForQuery(null, m, context); |
| 637 | }); |
| 638 | } |
| 639 | |
| 640 | /*! |
| 641 | * ignore |
nothing calls this directly
no outgoing calls
no test coverage detected