MCPcopy Create free account
hub / github.com/RubyLouvre/anu / toPlainObject

Function toPlainObject

test/babel.js:55254–55256  ·  view source on GitHub ↗

* Converts `value` to a plain object flattening inherited enumerable string * keyed properties of `value` to own properties of the plain object. * * @static * @memberOf _ * @since 3.0.0 * @category Lang * @param {*} value The value to convert. * @returns {Object} Returns the converte

(value)

Source from the content-addressed store, hash-verified

55252 * // => { 'a': 1, 'b': 2, 'c': 3 }
55253 */
55254 function toPlainObject(value) {
55255 return copyObject(value, keysIn(value));
55256 }
55257
55258 module.exports = toPlainObject;
55259

Callers 1

baseMergeDeepFunction · 0.85

Calls 2

copyObjectFunction · 0.85
keysInFunction · 0.85

Tested by

no test coverage detected