value::is_double

Check if this is a double.

Synopsis

bool
is_double() const noexcept;

Description

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

Complexity

Constant.

Exception Safety

No-throw guarantee.

Return Value

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