mrdocs::js::Value::isObject

Check if the value is an object.

Synopsis

Declared in <mrdocs/Support/JavaScript.hpp>
bool
isObject() const noexcept;

Description

Check if the value is an object but not an array or function.

While in ECMA anything with properties is an object, this function returns false for arrays and functions.

Properties are key-value pairs with a string key and an arbitrary value, including undefined.

Return Value

true if the value is an object, false otherwise

Created with MrDocs