PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
inquirer
/
node_modules
/
lodash
/
lang
var baseCopy = require('../internal/baseCopy'), keysIn = require('../object/keysIn'); /** * Converts `value` to a plain object flattening inherited enumerable * properties of `value` to own properties of the plain object. * * @static * @memberOf _ * @category Lang * @param {*} value The value to convert. * @returns {Object} Returns the converted plain object. * @example * * function Foo() { * this.b = 2; * } * * Foo.prototype.c = 3; * * _.assign({ 'a': 1 }, new Foo); * // => { 'a': 1, 'b': 2 } * * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); * // => { 'a': 1, 'b': 2, 'c': 3 } */ function toPlainObject(value) { return baseCopy(value, keysIn(value)); } module.exports = toPlainObject;
[-] isBoolean.js
[edit]
[-] isRegExp.js
[edit]
[-] toArray.js
[edit]
[-] gt.js
[edit]
[+]
..
[-] isNative.js
[edit]
[-] isFinite.js
[edit]
[-] isObject.js
[edit]
[-] isUndefined.js
[edit]
[-] isDate.js
[edit]
[-] isError.js
[edit]
[-] isPlainObject.js
[edit]
[-] isTypedArray.js
[edit]
[-] toPlainObject.js
[edit]
[-] isArguments.js
[edit]
[-] eq.js
[edit]
[-] isElement.js
[edit]
[-] gte.js
[edit]
[-] isString.js
[edit]
[-] isNull.js
[edit]
[-] cloneDeep.js
[edit]
[-] lt.js
[edit]
[-] lte.js
[edit]
[-] isNumber.js
[edit]
[-] isNaN.js
[edit]
[-] isArray.js
[edit]
[-] isMatch.js
[edit]
[-] isEmpty.js
[edit]
[-] isFunction.js
[edit]
[-] clone.js
[edit]
[-] isEqual.js
[edit]