Function isColoredPiece

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

    Parameters

    • value: unknown

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

Generated using TypeDoc
Feb 25, 2024