Files
huishou/node_modules/ramda/es/toUpper.js
T
2026-07-27 13:37:48 +08:00

19 lines
419 B
JavaScript

import invoker from './invoker';
/**
* The upper case version of a string.
*
* @func
* @memberOf R
* @since v0.9.0
* @category String
* @sig String -> String
* @param {String} str The string to upper case.
* @return {String} The upper case version of `str`.
* @see R.toLower
* @example
*
* R.toUpper('abc'); //=> 'ABC'
*/
var toUpper = /*#__PURE__*/invoker(0, 'toUpperCase');
export default toUpper;