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< double >()

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

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

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