mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
updated cordova-common dependnecy to 1.1.0
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Converts `value` to a string if it's not one. An empty string is returned
|
||||
* for `null` or `undefined` values.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to process.
|
||||
* @returns {string} Returns the string.
|
||||
*/
|
||||
function baseToString(value) {
|
||||
return value == null ? '' : (value + '');
|
||||
}
|
||||
|
||||
module.exports = baseToString;
|
||||
Reference in New Issue
Block a user