In the method editor, javascript can handle both checks at the same time for you:
if(myField) // if myField has an entry (!= null && !=“”)
{
…
OR
if(!myField) //if myField doesn’t have an entry (== null || !=“”)
{
…
same goes for variables, arrays etc..
BTW:
you indeed ALWAYS have to check on both null and “”
(if you create a new record, most of your columns will probably
be null, untill something is entered into them)