src/js/libs/spiritual-gui.js
function(list, checks) {
		var result = -1;
		list.every(function(a, index) {
			if (a.every(function(b, i) {
				return b === checks[i];
			})) {
				result = index;
			}
			return result === -1;
		});
		return result;
	}
function(list, checks) {
		var result = -1;
		list.every(function(a, index) {
			if (a.every(function(b, i) {
				return b === checks[i];
			})) {
				result = index;
			}
			return result === -1;
		});
		return result;
	}
function ( list , checks ) { var result = - 1 ; list . every ( function ( a , index ) { if ( a . every ( function ( b , i ) { return b === checks [ i ] ; } ) ) { result = index ; } return result === - 1 ; } ) ; return result ; }
Get index of checks.
@param {Array<Array<object>>} list
@param {Array<object>} checks
@returns {number}
Get index of checks .