public static bool IsSimpleType(Type type) { return(type != null && DataTypes.Lookup(type) != DataType.Null); }
public static bool IsSimpleType(object value) { return(value != null && DataTypes.Lookup(value) != DataType.Null); }