mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
24 lines
480 B
TypeScript
24 lines
480 B
TypeScript
// Loaded from https://deno.land/x/ramda@v0.27.2/source/toLower.js
|
|
|
|
|
|
import invoker from './invoker.js';
|
|
|
|
|
|
/**
|
|
* The lower case version of a string.
|
|
*
|
|
* @func
|
|
* @memberOf R
|
|
* @since v0.9.0
|
|
* @category String
|
|
* @sig String -> String
|
|
* @param {String} str The string to lower case.
|
|
* @return {String} The lower case version of `str`.
|
|
* @see R.toUpper
|
|
* @example
|
|
*
|
|
* R.toLower('XYZ'); //=> 'xyz'
|
|
*/
|
|
var toLower = invoker(0, 'toLowerCase');
|
|
export default toLower;
|