Sha256: d08af2c5c93d67eab4fa35666261d47a2e7b7786883afe6bf0b1a0e6403071fb

Contents?: true

Size: 245 Bytes

Versions: 26

Compression:

Stored size: 245 Bytes

Contents

'use strict';

module.exports = value => {
	if (Object.prototype.toString.call(value) !== '[object Object]') {
		return false;
	}

	const prototype = Object.getPrototypeOf(value);
	return prototype === null || prototype === Object.prototype;
};

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
trusty-cms-6.3.1 node_modules/unified/node_modules/is-plain-obj/index.js
epuber-stylus-source-0.56.0 vendor/node_modules/is-plain-obj/index.js
trusty-cms-5.0.7 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-5.0.6 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-5.0.5 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-5.0.4 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-5.0.3 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-5.0.2 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-5.0.1 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.3.5 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-5.0.0 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.3.4 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.3.3 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.3.2 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.3.1 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.3 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.2.3 node_modules/unified/node_modules/is-plain-obj/index.js
epuber-stylus-source-0.54.8 vendor/node_modules/is-plain-obj/index.js
trusty-cms-4.2.2 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.2.1 node_modules/unified/node_modules/is-plain-obj/index.js