Code coverage report for master/helper/makeString.js

Statements: 100% (4 / 4)      Branches: 100% (2 / 2)      Functions: 100% (1 / 1)      Lines: 100% (3 / 3)      Ignored: none     

All files » master/helper/ » makeString.js
1 2 3 4 5 6 7 8      1 741 629    
/**
 * Ensure some object is a coerced to a string
 **/
module.exports = function makeString(object) {
  if (object == null) return '';
  return '' + object;
};