mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
bbaf619f63
swc_bundler: - [x] Fix wrapped esms. (denoland/deno#9307) - [x] Make test secure.
24 lines
480 B
TypeScript
24 lines
480 B
TypeScript
// Loaded from https://deno.land/x/ramda@v0.27.2/source/toUpper.js
|
|
|
|
|
|
import invoker from './invoker.js';
|
|
|
|
|
|
/**
|
|
* 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 = invoker(0, 'toUpperCase');
|
|
export default toUpper;
|