ReadonlycharReadonlyorderThe internal ordering of this rank
ReadonlytypeReadonlyvalueStatic ReadonlyACEStatic ReadonlyEIGHTStatic ReadonlyFIVEStatic ReadonlyFOURStatic ReadonlyJACKStatic ReadonlyJOKERStatic ReadonlyKINGStatic ReadonlyNINEStatic ReadonlyQUEENStatic ReadonlyranksAll of the ranks that are possible for cards
Static ReadonlySEVENStatic ReadonlySIXStatic ReadonlyTENStatic ReadonlyTHREEStatic ReadonlyTWOTells if two ranks are next to each other
if the ranks are next to each other
Tells how far apart two ranks are based on the inner values
Note that jokers and twos are accepted by the function but the result is not defined
the other rank
the signed difference between the ranks
Gets the rank that is above or below this one by a certain amount
how much to displace this rank by
the displaced rank
Tells how far apart two ranks are based on the inner value of the ranks Note that jokers and twos are accepted by the function but the result is not defined
the other rank
the unsigned (abs) distance between the ranks
Tells whether a rank is wild or not
if it is wild
Returns the string representation of this
StaticcompareStaticcontiguousStaticdifferenceTells how far apart two ranks are based on the inner values Note that jokers and twos are accepted by the function but the result is not defined
the signed difference between the ranks
StaticdistanceTells how far apart two ranks are based on the inner value of the ranks Note that jokers and twos are accepted by the function but the result is not defined
the unsigned (abs) distance between the ranks
StaticfromLooks up a rank based on an object Since the order field is an internal representation, this is not guaranteed to be stable between versions
the object to convert from
the corresponding rank
StaticfromLooks up a rank based on a string version
the string to lookup
the corresponding rank
Staticwildcards
A class for the rank of a card like 'TWO' or 'KING'