Skip to content

isTransitionFamily

isTransitionFamily(value): value is “coast” | “road” | “river”

Defined in: packages/declarative-hex-worlds/src/selectors/selectors.ts:133

True if value names a known transition family. Uses Object.hasOwn (not in) so inherited Object.prototype keys (constructor, toString, …) don’t spuriously match — a selectTransitionVariant/resolveEdge miss must fall through, and matching an inherited key would index the table with a non-array.

string

value is “coast” | “road” | “river”