xtd 0.2.0
Loading...
Searching...
No Matches

◆ is_defined() [1/2]

template<typename enum_t >
static bool xtd::enum_object< std::nullptr_t >::is_defined ( enum_t  value)
inlinestaticnoexcept

Returns an indication whether a constant with a specified value exists in a specified enumeration.

Parameters
fromValueAn enumeration value.
Returns
true if a constant in enumType has a value equal to value; otherwise, false.
Exceptions
xtd::argument_exceptionThe value is ! a value of enumType.