Your IP : 216.73.216.17


Current Path : /etc/kibana/node_modules/lodash/internal/
Upload File :
Current File : //etc/kibana/node_modules/lodash/internal/toObject.js

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;