Kokopu - v4.13.0
    Preparing search index...

    Function isColoredPiece

    • 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"