I\'ve got this code that checks for the empty or null string. It\'s working in testing.
eitherStringEmpty= (email, password) -> emailEmpty = not email? or
Based on this answer about checking if a variable has a truthy value or not , you just need one line:
truthy
result = !email or !password
& you can try it for yourself on this online Coffeescript console