Function isColoredPiece

  • Whether the given value represents a valid ColoredPiece or not.

    Parameters

    • value: unknown

    Returns value is "wb" | "wk" | "wq" | "wr" | "wn" | "wp" | "bb" | "bk" | "bq" | "br" | "bn" | "bp"

Generated using TypeDoc