(val, context)
| 621 | */ |
| 622 | |
| 623 | function handleArray(val, context) { |
| 624 | const _this = this; |
| 625 | if (!Array.isArray(val)) { |
| 626 | return [this.castForQuery(null, val, context)]; |
| 627 | } |
| 628 | return val.map(function(m) { |
| 629 | return _this.castForQuery(null, m, context); |
| 630 | }); |
| 631 | } |
| 632 | |
| 633 | /*! |
| 634 | * ignore |
nothing calls this directly
no outgoing calls
no test coverage detected