value::is_null

Check if this is a null value.

Synopsis

bool
is_null() const noexcept;

Description

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

Complexity

Constant.

Exception Safety

No-throw guarantee.

Return Value

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