What’s an effective way to check if a value is not null and not an empty string in JavaScript?

I’m currently doing this:

var data; // fetched from DB if (data != null && data != ‘’) { // do something } Is there a cleaner or better approach to verify that JavaScript is not null and also not an empty string? Appreciate any tips!