Reference · Draw a bracket, a table or a road to the final
JudoQueueContesttype
One contest of a mat's queue: its number ("G-24", 24) and the two athletes, and optionally the weight class and the round (for a caption).
Import it
import type { JudoQueueContest } from "@johnmorrisdotca/taisen-brackets";
Definition
interface JudoQueueContest {
number: string | number;
white: JudoAthlete;
blue: JudoAthlete;
}
Members
| Name | Type | Description |
|---|---|---|
number | string | number | |
white | JudoAthlete | |
blue | JudoAthlete |
Examples
import { judoMatQueue, type JudoQueueContest } from "@johnmorrisdotca/taisen-brackets";
const next: JudoQueueContest = { number: "G-1", white: { name: "Daiki Hoshino", code: "JPN" }, blue: { name: "Mathis Roussel", code: "FRA" } };
console.log(judoMatQueue({ mat: 1, contests: [next] }).includes("G-1"));trueWhat it prints (run when this page was built)