MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / is_number

Function is_number

include/behaviortree_cpp/contrib/json.hpp:20631–20634  ·  view source on GitHub ↗

@brief return whether value is a number @sa https://json.nlohmann.me/api/basic_json/is_number/

Source from the content-addressed store, hash-verified

20629 /// @brief return whether value is a number
20630 /// @sa https://json.nlohmann.me/api/basic_json/is_number/
20631 constexpr bool is_number() const noexcept
20632 {
20633 return is_number_integer() || is_number_float();
20634 }
20635
20636 /// @brief return whether value is an integer number
20637 /// @sa https://json.nlohmann.me/api/basic_json/is_number_integer/

Callers 1

is_primitiveFunction · 0.85

Calls 2

is_number_integerFunction · 0.85
is_number_floatFunction · 0.85

Tested by

no test coverage detected