System::ObjectExt::UnknownIsNull method

ObjectExt::UnknownIsNull(T) method

Checks whether unknown type object is nullptr. Overload for non-scalar types.

template<typename T> static std::enable_if<!std::is_scalar<T>::value, bool>::type System::ObjectExt::UnknownIsNull(T obj)
ParameterDescription
TObject type.
ParameterTypeDescription
objTObject to check.

ReturnValue

True if ‘obj == nullptr’ is true, false otherwise.

See Also

ObjectExt::UnknownIsNull(T) method

Checks whether unknown type object is nullptr. Overload for scalar types.

template<typename T> static std::enable_if<std::is_scalar<T>::value, bool>::type System::ObjectExt::UnknownIsNull(T obj)
ParameterDescription
TObject type.
ParameterTypeDescription
objTObject to check.

ReturnValue

Always returns false.

See Also