Check out example codes for "sql check for null and empty string". It will help you in understanding the concepts better.

Code Example 1

IF ISNULL(@param) OR @param = '' THEN doSomething...

Learn ReactJs, React Native from akashmittal.com