- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
17 lines
367 B
JavaScript
17 lines
367 B
JavaScript
"use strict";
|
|
|
|
/**
|
|
* Returns a string representation of the value
|
|
* @param {*} value
|
|
* @returns {string}
|
|
*/
|
|
function valueToString(value) {
|
|
if (value && value.toString) {
|
|
// eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods
|
|
return value.toString();
|
|
}
|
|
return String(value);
|
|
}
|
|
|
|
module.exports = valueToString;
|