| 399 | } |
| 400 | |
| 401 | Error Value::getError() const noexcept { |
| 402 | if (isError()) { |
| 403 | return Error(getUnsafeTypedRefPointer<ErrorStorage>()); |
| 404 | } |
| 405 | |
| 406 | return Error(); |
| 407 | } |
| 408 | |
| 409 | Ref<ValueFunction> Value::getFunctionRef() const noexcept { |
| 410 | if (getType() == ValueType::Function) { |
no test coverage detected