portalMarkfunction
The mark of portal index, from 0: its Greek letter, or its number once the letters are used up.
Import it
import { portalMark } from "@johnmorrisdotca/tsunagi/draw";
Definition
function portalMark(index: number): string
Parameters
| Name | Type | Description |
|---|---|---|
index | number | The zero-based portal index. |
Returns
string
The mark of portal index, from 0: its Greek letter, or its number once the letters are used up.
Examples
import { portalMark } from "@johnmorrisdotca/tsunagi/draw";
console.log(portalMark(0));αWhat it prints (run when this page was built)