iterami/Docs.htm/common HTM Projects/chess.js/chess_check_rank(args)
- Checks if there are any pieces in a rank between loopstart and loopend.
- Returns true if pieces are found, or else returns false.
- Can optionally accept a specific board as an array of strings, or else will just use the board from the game id.
board
| void 0
| array of strings
|
id
|
| string
|
loopend
|
| number 0-7
|
loopstart
|
| number 0-7
|
rank
|
| number 0-7
|