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.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”value is “coast” | “road” | “river”