MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / toObject

Function toObject

lib/web/jshint.js:5964–5966  ·  view source on GitHub ↗

* Converts `value` to an object if it is not one. * * @private * @param {*} value The value to process. * @returns {Object} Returns the object.

(value)

Source from the content-addressed store, hash-verified

5962 * @returns {Object} Returns the object.
5963 */
5964 function toObject(value) {
5965 return isObject(value) ? value : Object(value);
5966 }
5967
5968 /**
5969 * Converts `value` to property path array if it is not one.

Callers 9

baseGetFunction · 0.70
baseMatchesFunction · 0.70
baseMatchesPropertyFunction · 0.70
createBaseEachFunction · 0.70
createBaseForFunction · 0.70
runInContextFunction · 0.70
isKeyFunction · 0.70
pickByArrayFunction · 0.70
isMatchFunction · 0.70

Calls 2

ObjectFunction · 0.85
isObjectFunction · 0.70

Tested by

no test coverage detected