@hanabi-live/game
    Preparing search index...

    Type Alias SuitRankMap<T>

    SuitRankMap: ReadonlyRecord<SuitIndex, ReadonlyRecord<Rank, T>>

    A two-dimensional map indexed by suit index and then by rank.

    We do not want to use a Map since that cannot be natively used by Immer and may be slow to copy. Thus, we instead use a two-dimensional Record. (A Record is a normal JavaScript object at run-time.)

    Type Parameters

    • T