1 var createCompounder = require('./_createCompounder');
4 * Converts `string`, as space separated words, to lower case.
9 * @param {string} [string=''] The string to convert.
10 * @returns {string} Returns the lower cased string.
13 * _.lowerCase('--Foo-Bar');
16 * _.lowerCase('fooBar');
19 * _.lowerCase('__FOO_BAR__');
22 var lowerCase = createCompounder(function(result, word, index) {
23 return result + (index ? ' ' : '') + word.toLowerCase();
26 module.exports = lowerCase;