* Set to
(to)
| 101 | * Set to |
| 102 | */ |
| 103 | setTo(to) { |
| 104 | if (typeof to === 'undefined') { |
| 105 | return; |
| 106 | } |
| 107 | if (!Array.isArray(to)) { |
| 108 | to = [to]; |
| 109 | } |
| 110 | this.to = EmailAddress.create(to); |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * Set from |
no test coverage detected