// Converts argument to a value of type Object
// http://es5.github.com/#x9.9

'use strict';

module.exports = function (value) {
	if (value == null) {
		throw new TypeError("Cannot convert " + value + " to object");
	}
	return Object(value); //jslint: skip
};

// Converts argument to a value of type Object
// http://es5.github.com/#x9.9

'use strict';

var valid = require('./valid-value');

module.exports = function (value) {
	return valid(value) && Object(value); //jslint: skip
};

Make use of validValue in toObject
Make use of validValue in toObject
