IsPrimitive

public static bool IsPrimitive(Type type) ;

Returns whether or not it is a primitive type.

Parameter Name Description
type Type

Returns true if it is a primitive type.