Skip to main content

isNode

Callable

  • isNode(x: unknown): x is Node

  • Checks whether the given object is a valid therefore schema node.


    Parameters

    • x: unknown

      The node to check.

    Returns x is Node

    Checks if x is a ThereforeNode.