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