wtm and btm

The wtm and btm filters test whose turn it is to move in a position:
  • The wtm filter is true of a position if the side to move is White.
  • The btm filter is true of a position if the side to move is Black.

Examples