diff options
Diffstat (limited to 'WebCore/bindings/v8/ScriptValue.h')
-rw-r--r-- | WebCore/bindings/v8/ScriptValue.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/WebCore/bindings/v8/ScriptValue.h b/WebCore/bindings/v8/ScriptValue.h index 004851b..ddc3577 100644 --- a/WebCore/bindings/v8/ScriptValue.h +++ b/WebCore/bindings/v8/ScriptValue.h @@ -110,7 +110,12 @@ public: { return m_value->IsUndefined(); } - + + bool isObject() const + { + return m_value->IsObject(); + } + bool hasNoValue() const { return m_value.IsEmpty(); |