ObjectExt Class

DECLARATION
public static class ObjectExt
NAMESPACE
LanguageExt

Methods

IsDefault<T>(T)
SUMMARY

Returns true if the value is equal to this type's default value.

PARAMETERS
value
T
DECLARATION
[Pure]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool IsDefault<T>(this T value)
RETURNS
bool
True if the value is equal to this type's default value
IsNull<T>(T)
SUMMARY

Returns true if the value is null, and does so without boxing of any value-types. Value-types will always return false.

PARAMETERS
value
T
DECLARATION
[Pure]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool IsNull<T>(this T value)
RETURNS
bool
True if the value is null, and does so without boxing of any value-types. Value-types will always return false.