ohHellHeightfunction
A card's height in a trick: ace high.
Import it
import { ohHellHeight } from "@johnmorrisdotca/toranpu/oh-hell";
Definition
function ohHellHeight(card: CardId): number
Parameters
| Name | Type | Description |
|---|---|---|
card | string | The physical card or card id to read, draw or play. |
Returns
number
A card's height in a trick: ace high.
Examples
import { ohHellHeight } from "@johnmorrisdotca/toranpu/oh-hell";
console.log(ohHellHeight("AS"));14What it prints (run when this page was built)