xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.

◆ is< float >()

template<>
bool xtd::is< float > ( float  value)
inline

Return true if specified value is the specified float. A Is expression takes the following form:

Library
xtd.core
Examples
int main() {
float f = 4.2;
std::cout << "f " << is<float>(f) ? "is" : "isn't" << " float" << endl;
}