isAwaseChallengefunction
Whether a text names a challenge.
Import it
import { isAwaseChallenge } from "@johnmorrisdotca/jarajara/awase";
Definition
function isAwaseChallenge(text: unknown): text is AwaseChallenge
Parameters
| Name | Type | Description |
|---|---|---|
text | unknown | The unknown text or encoded record to interpret. |
Returns
boolean
Whether a text names a challenge.
Examples
import { isAwaseChallenge } from "@johnmorrisdotca/jarajara/awase";
console.log(isAwaseChallenge("rush"));trueWhat it prints (run when this page was built)