columnAtfunction
Which column, from 0, a pile a move names is.
Import it
import { columnAt } from "@johnmorrisdotca/toranpu/freecell";
Definition
function columnAt(pile: FreeCellPile): number
Parameters
| Name | Type | Description |
|---|---|---|
pile | FreeCellPile | The pile to inspect or arrange. |
Returns
number
Which column, from 0, a pile a move names is.
Examples
import { columnAt } from "@johnmorrisdotca/toranpu/freecell";
console.log(columnAt("1"));0What it prints (run when this page was built)