src/js/libs/spiritual-gui.js
function(/* ...types */) {
		var types = gui.Array.from(arguments);
		return function(action) {
			return function() {
				if (gui.Arguments._validate(arguments, types)) {
					return action.apply(this, arguments);
				} else {
					gui.Arguments._abort(this);
				}
			};
		};
	}
function(/* ...types */) {
		var types = gui.Array.from(arguments);
		return function(action) {
			return function() {
				if (gui.Arguments._validate(arguments, types)) {
					return action.apply(this, arguments);
				} else {
					gui.Arguments._abort(this);
				}
			};
		};
	}
function ( /* ...types */ ) { var types = gui . Array . from ( arguments ) ; return function ( action ) { return function ( ) { if ( gui . Arguments . _validate ( arguments , types ) ) { return action . apply ( this , arguments ) ; } else { gui . Arguments . _abort ( this ) ; } } ; } ; }
Revengeful arguments validator.
Throws an exception if no match.
Revengeful arguments validator . Throws an exception if no match .