MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / isBlankObject

Function isBlankObject

web/static/bower_components/angular/angular.js:601–603  ·  view source on GitHub ↗

* Determine if a value is an object with a null prototype * * @returns {boolean} True if `value` is an `Object` with a null prototype

(value)

Source from the content-addressed store, hash-verified

599 * @returns {boolean} True if `value` is an `Object` with a null prototype
600 */
601function isBlankObject(value) {
602 return value !== null && typeof value === 'object' && !getPrototypeOf(value);
603}
604
605
606/**

Callers 2

forEachFunction · 0.85
copyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected