From ba9cfc3b26d12a6a069f8ae92e6e16e01906ac70 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 22 Sep 2015 00:29:32 -0700 Subject: [PATCH] Clarify `baseToString` and other converter method docs. [ci skip] --- lodash.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lodash.js b/lodash.js index bd8853aa4..20680d31e 100644 --- a/lodash.js +++ b/lodash.js @@ -790,12 +790,12 @@ } /** - * Converts `value` to a string if it's not one. An empty string is returned - * for `null` or `undefined` values. + * Converts `value` to a string. An empty string is returned for `null` + * and `undefined` values. * * @private - * @param {*} value The value to process. - * @returns {string} Returns the string. + * @param {*} value The value to convert. + * @returns {string} Returns the converted string. */ function baseToString(value) { return value == null ? '' : (value + ''); @@ -4488,7 +4488,7 @@ * Converts `string` to a property path array. * * @private - * @param {string} string The string to process. + * @param {string} string The string to convert. * @returns {Array} Returns the property path array. */ function stringToPath(string) { @@ -4503,7 +4503,7 @@ * Converts `value` to a function if it's not one. * * @private - * @param {*} value The value to process. + * @param {*} value The value to convert. * @returns {Function} Returns the function. */ function toFunction(value) { @@ -11697,7 +11697,7 @@ * @static * @memberOf _ * @category Utility - * @param {*} value The value to process. + * @param {*} value The value to convert. * @returns {Array} Returns the new property path array. * @example *