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