redCardfunction
Hearts and diamonds, the second and third suits.
Import it
import { redCard } from "@johnmorrisdotca/toranpu/freecell";
Definition
function redCard(card: number): boolean
Parameters
| Name | Type | Description |
|---|---|---|
card | number | The packed card number from 0 to 51. |
Returns
boolean
Hearts and diamonds, the second and third suits.
Examples
import { redCard } from "@johnmorrisdotca/toranpu/freecell";
console.log(redCard(13));trueWhat it prints (run when this page was built)