MCPcopy Create free account
hub / github.com/Icinga/icinga2 / IsNumber

Method IsNumber

lib/base/value.cpp:135–138  ·  view source on GitHub ↗

* Checks whether the variant is a number. * * @returns true if the variant is a number. */

Source from the content-addressed store, hash-verified

133* @returns true if the variant is a number.
134*/
135bool Value::IsNumber() const
136{
137 return (GetType() == ValueNumber);
138}
139
140/**
141 * Checks whether the variant is a boolean.

Callers 15

operator==Method · 0.80
operator+Method · 0.80
operator-Method · 0.80
operator*Method · 0.80
operator/Method · 0.80
operator%Method · 0.80
operator^Method · 0.80
operator&Method · 0.80
operator|Method · 0.80
operator<<Method · 0.80
operator>>Method · 0.80
operator<Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected