check, mate, stalemate

  • The check filter is true of a position in which one side is in check.
  • The mate filter is true of a position in which one side is in mate.
  • The stalemate filter is true of a position in which one side is in stalmate.
These filters take no arguments.

Examples:

  1. check - examples/consecutive-checks.html
  2. mate - examples/modelmate.html
  3. stalemate - examples/modelstalemate-1.html

Examples