Hiyve Components - v1.0.0
    Preparing search index...

    Function restoreDeck

    • A kept deck as it was finished: its cards drawn again from its settings and seed, each answer given back to its round, and the rounds not played left out. null for anything that is not a whole record of this version (isDeckRecord), one kept from an older version whose cards cannot be dealt again (restorable: false), or one whose settings cannot draw its cards.

      Parameters

      • record: unknown

      Returns DeckState | null