Searched refs:IsPromise (Results 1 – 12 of 12) sorted by relevance
32 // 2. If IsPromise(promise) is false, throw a TypeError exception.
215 bool IsPromise() const;
196 if (parent->IsPromise()) { in ShellPromiseHook()
320 if (!resolve_return_value->IsPromise()) { in Link()604 CHECK(result->IsPromise()); in ImportModuleDynamically()
101 if (!args[0]->IsPromise()) in GetPromiseDetails()
443 CHECK(close_resolver->IsPromise()); in ClosePromise()
4228 *is_promise = v8impl::V8LocalValueFromJsValue(value)->IsPromise(); in OH_JSVM_IsPromise()
341 if (value->IsPromise()) { in serializeV8Value()
986 } else if (object->IsPromise()) { in getInternalPropertiesForPreview()1491 if (value->IsPromise() && in getProperties()1718 if (value->IsPromise()) { in create()
353 if (!scope.object()->IsPromise()) { in awaitPromise()
89 value->IsPromise() ? value.As<v8::Promise>() in add()
3718 bool Value::IsPromise() const { return Utils::OpenHandle(this)->IsJSPromise(); } in IsPromise() function in v8::Value3967 Utils::ApiCheck(that->IsPromise(), "v8::Promise::Cast", in CheckCast()3972 Utils::ApiCheck(that->IsPromise(), "v8::Promise::Resolver::Cast", in CheckCast()