isFaction
isFaction(
value): value is “blue” | “green” | “red” | “yellow”
Defined in: src/scenario/catalog.ts:1293
Type guard for supported faction ids.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”value is “blue” | “green” | “red” | “yellow”