xtd
0.2.0
Loading...
Searching...
No Matches
◆
is< float >()
template<>
bool
xtd::is
< float >
(
float
value
)
inline
Checks if the result of an expression is compatible with a given type.
Header
#include <xtd/is>
Namespace
xtd
Library
xtd.core
Examples
auto
main() ->
int
{
float
f
= 4.2;
std::cout <<
"f "
<<
is<float>
(
f
) ?
"is"
:
"isn't"
<<
" float"
<< endl;
}
xtd::is< float >
bool is< float >(float value)
Checks if the result of an expression is compatible with a given type.
Definition
is.h:130
xtd::console_key::f
@ f
The F key.
xtd
Generated on Sat Sep 14 2024 21:25:16 for xtd by
Gammasoft
. All rights reserved.