UnknownIsNull()

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)

Template parameters

ParameterDescription
TObject type.

Arguments

ParameterTypeDescription
objTObject to check.

Return Value

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

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)

Template parameters

ParameterDescription
TObject type.

Arguments

ParameterTypeDescription
objTObject to check.

Return Value

Always returns false.

See Also