Function getStackStartRank

  • Returns the rank of the bottom card of the stack.

    Parameters

    • playStack: readonly number[]
    • deck: readonly CardState[]

    Returns null | 7 | 3 | 1 | 2 | 4 | 5