diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/include/emscripten/val.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/include/emscripten/val.h b/system/include/emscripten/val.h index 91becb4f..e2d35382 100644 --- a/system/include/emscripten/val.h +++ b/system/include/emscripten/val.h @@ -84,6 +84,10 @@ namespace emscripten { return *this; } + bool exist(const char* key) const { + return internal::_emval_has_property(handle, key); + } + val get(const char* key) const { return val(internal::_emval_get_property(handle, key)); } |