| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index ec1941e6fd86eec42707e4d41011112961fe2109..07d380ee5f1cda4e59c550a1530e08e816bfe136 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -1561,6 +1561,18 @@ class V8_EXPORT Value : public Data {
|
| bool IsRegExp() const;
|
|
|
| /**
|
| + * Returns true if this value is a Generator function.
|
| + * This is an experimental feature.
|
| + */
|
| + bool IsGeneratorFunction() const;
|
| +
|
| + /**
|
| + * Returns true if this value is a Generator object (iterator).
|
| + * This is an experimental feature.
|
| + */
|
| + bool IsGeneratorObject() const;
|
| +
|
| + /**
|
| * Returns true if this value is a Promise.
|
| * This is an experimental feature.
|
| */
|
|
|