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-4.2 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.1.9 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.1.8 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.1.7 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.1.6 node_modules/unified/node_modules/is-plain-obj/index.js
trusty-cms-4.1.5 node_modules/unified/node_modules/is-plain-obj/index.js