function toEmptyString(value) {
  return value === null || value === void 0 ? '' : value;
}
Convert empty-ish values like null and undefined to an empty string.

@param value Value to check.
@returns {String}