Function: isCloth()
ts
function isCloth(text): text is "green" | "blue" | "red" | "black" | "wood";Defined in: src/ui/cloth.ts:18
Whether a text names a cloth.
Parameters
text
unknown
Returns
text is "green" | "blue" | "red" | "black" | "wood"