Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 3ac10ab917d8801b5904343f897c91c0f6f37f14..b22e3d1f4bb50e37ecad2ebdbf8052629fc76bb0 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -919,6 +919,11 @@ class Value : public Data { |
| */ |
| V8EXPORT bool IsDate() const; |
| + /** |
| + * Returns true if this value is a RegExp. |
| + */ |
| + V8EXPORT bool IsRegExp() const; |
| + |
| V8EXPORT Local<Boolean> ToBoolean() const; |
| V8EXPORT Local<Number> ToNumber() const; |
| V8EXPORT Local<String> ToString() const; |