Files
NapCatQQ/.pnpm-store/v3/files/7d/d3b2115f43d8561754c31dfd86ab9c8d7adcf7f39b7d20834adc32a2625e9e646a71e1f813cf89f84cfbefdcb7f3f96cf485766332737b7f011e378a1d8151
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

29 lines
590 B
Plaintext

import toString from './toString.js';
/**
* Converts `string`, as a whole, to lower case just like
* [String#toLowerCase](https://mdn.io/toLowerCase).
*
* @static
* @memberOf _
* @since 4.0.0
* @category String
* @param {string} [string=''] The string to convert.
* @returns {string} Returns the lower cased string.
* @example
*
* _.toLower('--Foo-Bar--');
* // => '--foo-bar--'
*
* _.toLower('fooBar');
* // => 'foobar'
*
* _.toLower('__FOO_BAR__');
* // => '__foo_bar__'
*/
function toLower(value) {
return toString(value).toLowerCase();
}
export default toLower;