All files / src/preds notEmpty.js

0% Statements 0/6
0% Branches 0/4
0% Functions 0/1
0% Lines 0/6
1 2 3 4 5 6 7 8 9 10 11                     
 
module.exports = function notEmpty( x ) {
  if ( !x ) {
    return false;
  } else if ( x.length === 0 ) {
    return false;
  } else {
    return true;
  }
}