mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
14
react-app/node_modules/lodash/internal/toObject.js
generated
vendored
Normal file
14
react-app/node_modules/lodash/internal/toObject.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
var isObject = require('../lang/isObject');
|
||||
|
||||
/**
|
||||
* Converts `value` to an object if it's not one.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to process.
|
||||
* @returns {Object} Returns the object.
|
||||
*/
|
||||
function toObject(value) {
|
||||
return isObject(value) ? value : Object(value);
|
||||
}
|
||||
|
||||
module.exports = toObject;
|
Reference in New Issue
Block a user