Preparing search index...
The search index is not available
Kokopu documentation
Kokopu - v4.11.0
isPiece
Function isPiece
is
Piece
(
value
:
unknown
)
:
value
is
Piece
Whether the given value represents a valid
Piece
or not.
Parameters
value:
unknown
Returns
value
is
Piece
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Kokopu -
v4.11.0
Migrate to 3.x
Migrate to 4.x
Tutorials & examples
Getting started
Set-
up a position
Load a PGN file
Set-
up a game from scratch
Game/JSON conversion
Chess960
exception
i18n
Abstract
Node
Database
Date
Value
Game
Move
Descriptor
Node
Position
Variation
PGNWrite
Options
Abstract
NodePOJO
Castle
Castle960
Color
Colored
Piece
Coordinates
File
GamePOJO
Game
Result
Game
Variant
NodePOJO
Piece
PlayerPOJO
Promotion
Move
Factory
Rank
Regular
Move
Factory
Square
Square
Couple
VariationPOJO
coordinates
To
Square
for
Each
Square
is
Castle
is
Castle960
is
Color
is
Colored
Piece
is
File
is
Game
Result
is
Game
Variant
is
Move
Descriptor
is
Piece
is
Rank
is
Square
is
Square
Couple
is
ValidECO
nag
Symbol
opposite
Color
pgn
Read
pgn
Write
square
Color
square
To
Coordinates
variant
With
Canonical
Start
Position
Generated using
TypeDoc
Whether the given value represents a valid Piece or not.