Appearance
IsPrimitiveOrValueType Method
Definition
- Namespace:
JASE - Assembly:
JASE.ReflectionTools.dll
bool IsPrimitiveOrValueType(Type type)
csharp
bool IsPrimitiveOrValueType(Type type)Determines whether the specified type is a primitive, enum, or common value type such as String, Guid, Decimal, or DateTime.
Parameters
| Name | Description |
|---|---|
type | The Type to check. |
Returns
true if the type is a primitive, enum, or one of the common value types; otherwise, false.