| 163 | } |
| 164 | |
| 165 | bool WasmEventArgs::to(bool& value, int index) { |
| 166 | if (index < s_cast<int>(_values.size()) && std::holds_alternative<bool>(_values[index])) { |
| 167 | value = std::get<bool>(_values[index]); |
| 168 | return true; |
| 169 | } |
| 170 | return false; |
| 171 | } |
| 172 | |
| 173 | bool WasmEventArgs::to(Object*& value, int index) { |
| 174 | if (index < s_cast<int>(_values.size()) && std::holds_alternative<Object*>(_values[index])) { |
no test coverage detected