Check out example codes for "test if parameter supports null reflection". It will help you in understanding the concepts better.

Code Example 1

bool canBeNull = !type.IsValueType || (Nullable.GetUnderlyingType(type) != null);

Learn ReactJs, React Native from akashmittal.com