lib/runtime.js
function guard(value) {
  return value == null || (Array.isArray(value) && value.length === 0) ? '' : value;
}
function guard(value) {
  return value == null || (Array.isArray(value) && value.length === 0) ? '' : value;
}
function guard ( value ) { return value == null || ( Array . isArray ( value ) && value . length === 0 ) ? '' : value ; }
Convert null and undefined values to empty strings
@param {any} value
@returns {string}
Convert null and undefined values to empty strings