X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=node_modules%2Funcss%2Fnode_modules%2Flodash%2FtoLower.js;fp=node_modules%2Funcss%2Fnode_modules%2Flodash%2FtoLower.js;h=02111c709a0db29bff60a4f78c968e424c8eb9ed;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/node_modules/uncss/node_modules/lodash/toLower.js b/node_modules/uncss/node_modules/lodash/toLower.js new file mode 100644 index 000000000..02111c709 --- /dev/null +++ b/node_modules/uncss/node_modules/lodash/toLower.js @@ -0,0 +1,26 @@ +var toString = require('./toString'); + +/** + * Converts `string`, as a whole, to lower case. + * + * @static + * @memberOf _ + * @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(); +} + +module.exports = toLower;