var FUNC_ERROR_TEXT = "Expected a function";
function negate(n) {
	if (typeof n != "function") throw TypeError(FUNC_ERROR_TEXT);
	return function() {
		var e = arguments;
		switch (e.length) {
			case 0: return !n.call(this);
			case 1: return !n.call(this, e[0]);
			case 2: return !n.call(this, e[0], e[1]);
			case 3: return !n.call(this, e[0], e[1], e[2]);
		}
		return !n.apply(this, e);
	};
}
var negate_default = negate;
export { negate_default as default };
