* Short-hand for ToChecked(), which doesn't return a value. To be used, where * the actual value of the Maybe is not needed like Object::Set. */
| 41 | * the actual value of the Maybe is not needed like Object::Set. |
| 42 | */ |
| 43 | V8_INLINE void Check() const { |
| 44 | if (V8_UNLIKELY(!IsJust())) api_internal::FromJustIsNothing(); |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Converts this Maybe<> to a value of type T. If this Maybe<> is |
no outgoing calls
no test coverage detected