value::is_number

Returns true if this is a number.

Synopsis

bool
is_number() const noexcept;

Description

This function returns true when kind() is one of the following values: kind::int64, kind::uint64, or kind::double_.

Complexity

Constant.

Exception Safety

No-throw guarantee.