MCPcopy Create free account
hub / github.com/NativeScript/android / Check

Method Check

test-app/runtime/src/main/cpp/include/v8-maybe.h:43–45  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

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

Callers 8

SetMethodFunction · 0.45
SetFastMethodFunction · 0.45
SetMethodNoSideEffectFunction · 0.45
SetConstructorFunctionFunction · 0.45
InitializeImportMetaHotFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected