Preparing search index...
The search index is not available
Kokopu documentation
Kokopu
isColoredPiece
Function isColoredPiece
is
Colored
Piece
(
value
)
:
value
is
|
"br"
|
"bb"
|
"bp"
|
"bq"
|
"bk"
|
"bn"
|
"wr"
|
"wb"
|
"wp"
|
"wq"
|
"wk"
|
"wn"
Whether the given value represents a valid
ColoredPiece
or not.
Parameters
value
:
unknown
Returns
value
is
|
"br"
|
"bb"
|
"bp"
|
"bq"
|
"bk"
|
"bn"
|
"wr"
|
"wb"
|
"wp"
|
"wq"
|
"wk"
|
"wn"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Kokopu - v4.11.2
Loading...
Whether the given value represents a valid ColoredPiece or not.