Uji jika parameter mendukung refleksi nol
bool canBeNull = !type.IsValueType || (Nullable.GetUnderlyingType(type) != null);
Annoying Ape
bool canBeNull = !type.IsValueType || (Nullable.GetUnderlyingType(type) != null);