Remove toUpper and toLower.

This commit is contained in:
John-David Dalton
2017-03-14 23:28:19 -07:00
parent b8a3a42278
commit 9d11b48ce5
2 changed files with 0 additions and 52 deletions

View File

@@ -1,26 +0,0 @@
import toString from './toString.js'
/**
* Converts `string`, as a whole, to lower case just like
* [String#toLowerCase](https://mdn.io/toLowerCase).
*
* @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

View File

@@ -1,26 +0,0 @@
/**
* Converts `string`, as a whole, to upper case just like
* [String#toUpperCase](https://mdn.io/toUpperCase).
*
* @since 4.0.0
* @category String
* @param {string} [string=''] The string to convert.
* @returns {string} Returns the upper cased string.
* @example
*
* toUpper('--foo-bar--')
* // => '--FOO-BAR--'
*
* toUpper('fooBar')
* // => 'FOOBAR'
*
* toUpper('__foo_bar__')
* // => '__FOO_BAR__'
*/
function toUpper(value) {
return toString(value).toUpperCase()
}
export default toUpper