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

Method IsBoolean

lib/base/value.cpp:145–148  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

143 * @returns true if the variant is a boolean.
144 */
145bool Value::IsBoolean() const
146{
147 return (GetType() == ValueBoolean);
148}
149
150/**
151 * Checks whether the variant is a string.

Callers 9

EscapeValueMethod · 0.80
FieldToEscapedStringMethod · 0.80
FieldToEscapedStringMethod · 0.80
operator==Method · 0.80
EmitValueMethod · 0.80
PrintCsvArrayMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected