value::is_object

Check if this is an object.

Synopsis

bool
is_object() const noexcept;

Description

Returns true if the value’s kind() is kind::object.

Complexity

Constant.

Exception Safety

No-throw guarantee.

Return Value

this->kind() == kind::object.