Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: bool IsDefault<T>(this T)

  • Declared in: RT.Util.Ut

Declaration

public static bool IsDefault<T>(
    this T val
)

Summary

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

Generic type parameters

T
  • Must derive from: System.ValueType.
  • Must have a default constructor.
  • Must be a non-nullable value type.
This type parameter is not documented.