mirror of
https://github.com/sourcey/spectacle.git
synced 2024-09-17 16:38:10 +03:00
11 lines
252 B
JavaScript
11 lines
252 B
JavaScript
/**
|
|
* Converts a string to uppercase
|
|
* @name toUpperCase
|
|
* @param {string} value the input string
|
|
* @returns {string} the uppercase string
|
|
* @api public
|
|
*/
|
|
module.exports = function(value, options) {
|
|
return value ? value.toUpperCase() : '';
|
|
};
|