- parseVariant(variant): undefined | "chess" | "antichess" | "kingofthehill" | "3check" | "atomic" | "horde" | "racingkings" | "crazyhouse"
Parameters
- variant: undefined | string
Returns undefined | "chess" | "antichess" | "kingofthehill" | "3check" | "atomic" | "horde" | "racingkings" | "crazyhouse"