* Converts this MaybeLocal<> to a Local<>. If this MaybeLocal<> is empty, * V8 will crash the process. */
| 452 | * V8 will crash the process. |
| 453 | */ |
| 454 | V8_INLINE Local<T> ToLocalChecked() { |
| 455 | if (IsEmpty()) { |
| 456 | std::cerr << "ToLocalChecked, Maybe value is Nothing." << std::endl; |
| 457 | abort(); |
| 458 | } |
| 459 | return val_; |
| 460 | } |
| 461 | |
| 462 | /** |
| 463 | * Converts this MaybeLocal<> to a Local<>, using a default value if this |
no test coverage detected