Reference · Tiles, layouts and deals
SlotSortKeytype
One key of a sort: an axis, and - before it for the other way round (-z, the highest first).
Import it
import type { SlotSortKey } from "@johnmorrisdotca/jarajara";
Definition
type SlotSortKey = SlotAxis | `-${SlotAxis}`;
Examples
import type { SlotSortKey } from "@johnmorrisdotca/jarajara";
const value: SlotSortKey = "-y";
console.log(value);-yWhat it prints (run when this page was built)