public static bool IsPrimitive(this TypeInfo type) => type.EnsureNotNull(nameof(type)).Value.IsPrimitive;
public static bool IsAbstract(this TypeInfo type) => type.EnsureNotNull(nameof(type)).Value.IsAbstract;
public static bool ContainsGenericParameters(this TypeInfo type) => type.EnsureNotNull(nameof(type)).Value.ContainsGenericParameters;
public static bool IsGenericTypeDefinition(this TypeInfo type) => type.EnsureNotNull(nameof(type)).Value.IsGenericTypeDefinition;
public static bool IsEnum(this TypeInfo type) => type.EnsureNotNull(nameof(type)).Value.IsEnum;
public static bool IsInterface(this TypeInfo type) => type.EnsureNotNull(nameof(type)).Value.IsInterface;