Function isTopicPath

  • TypeGuard used to assert if a value is a TopicPath. Uses topicPathTree to quickly check if the path is valid.

    Parameters

    • it: unknown

    Returns it is readonly ["node", "connection", "reverse"] | readonly ["node", "connection", "forward"] | readonly ["discovery", "vertex", "queued"] | readonly ["discovery", "vertex", "processed"] | readonly ["discovery", "vertex", "failed"] | readonly ["discovery", "vertex", "culled"] | readonly ["discovery", "vertex", "cancelled"] | readonly ["discovery", "checkRediscovery"]

Generated using TypeDoc