Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1043)

Unified Diff: include/v8.h

Issue 2812613002: [api] Expose instanceof through v8::Value::InstanceOf. (Closed)
Patch Set: test Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index ae84f389ab16f426d493fb74d18acc7c715588ca..32f193a86c724ef1782497cb153f8641d79dc946 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -2295,6 +2295,8 @@ class V8_EXPORT Value : public Data {
Local<String> TypeOf(Isolate*);
+ Maybe<bool> InstanceOf(Local<Context> context, Local<Object> object);
+
private:
V8_INLINE bool QuickIsUndefined() const;
V8_INLINE bool QuickIsNull() const;
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698