hideCard
hideCard(
_card):null
Defined in: cards/visibility.ts:9
Hides one card. Handy as a map callback: hand.map((c, i) => (i === 0 ? c : hideCard(c))).
Parameters
Section titled “Parameters”"2S" | "2H" | "2D" | "2C" | "3S" | "3H" | "3D" | "3C" | "4S" | "4H" | "4D" | "4C" | "5S" | "5H" | "5D" | "5C" | "6S" | "6H" | "6D" | "6C" | "7S" | "7H" | "7D" | "7C" | "8S" | "8H" | "8D" | "8C" | "9S" | "9H" | "9D" | "9C" | "AS" | "AH" | "AD" | "AC" | "TS" | "TH" | "TD" | "TC" | "JS" | "JH" | "JD" | "JC" | "QS" | "QH" | "QD" | "QC" | "KS" | "KH" | "KD" | "KC"
Returns
Section titled “Returns”null
