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