Reference · SVG faces and looks
isTileMirrorfunction
Whether a text names a view.
Import it
import { isTileMirror } from "@johnmorrisdotca/jarajara/faces";
Definition
function isTileMirror(text: unknown): text is TileMirror
Parameters
| Name | Type | Description |
|---|---|---|
text | unknown | The unknown text or encoded record to interpret. |
Returns
boolean
Whether a text names a view.
Examples
import { isTileMirror } from "@johnmorrisdotca/jarajara/faces";
console.log(isTileMirror("both"));trueWhat it prints (run when this page was built)