code: function(iscount, type, code){ // type = 0:違う 1:numより小さい 2:numより大きい
  		for(var c=0;c<this.board.cell.length;c++){
  			var cell = this.board.cell[c];
  			if(!cell.isValidNum()){ continue;}
  			var num = cell.getNum(), count=cell.countDir4Cell(iscount);
  			if((type===0 && num===count) || (type===1 && num<=count) || (type===2 && num>=count)){ continue;}
  			
  			this.failcode.add(code);
  			if(this.checkOnly){ break;}
  			cell.seterr(1);
  		}
  	}
docs: --------------------------------------------------------------------------- ans.checkDir4Cell()  セルの周囲4マスの条件がfunc==trueの時、エラーを設定する ---------------------------------------------------------------------------