TypeExtensions.IsRecord Method
Definition
Returns true if the specified Type is a record class or record struct; false otherwise.
c#
public static bool IsRecord(this Type type);Parameters
| Name | Type | Description |
|---|---|---|
type | Type | The type. |
Returns
true if the specified Type is a record class or record struct; false otherwise.