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

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

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

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