src/js/libs/spiritual-gui.js
function(what) {
		return this.isFunction(what) &&
			this.isObject(what.prototype) &&
			Object.keys(what.prototype).length;
	}
function(what) {
		return this.isFunction(what) &&
			this.isObject(what.prototype) &&
			Object.keys(what.prototype).length;
	}
function ( what ) { return this . isFunction ( what ) && this . isObject ( what . prototype ) && Object . keys ( what . prototype ) . length ; }
Is function fit to be invoked via the "new" operator?
We assume so if the prototype reveals any properties.
@param {function} what
@returns {boolean}
Is function fit to be invoked via the new operator? We assume so if the prototype reveals any properties .