@servicenow/sdk - v4.7.0
    Preparing search index...
    • Gets the original parse tree node for a node.

      Parameters

      • node: tsc.Node | undefined

        The original node.

      Returns tsc.Node | undefined

      The original parse tree node if found; otherwise, undefined.

    • Gets the original parse tree node for a node.

      Type Parameters

      Parameters

      • node: T | undefined

        The original node.

      • OptionalnodeTest: (node: tsc.Node) => node is T

        A callback used to ensure the correct type of parse tree node is returned.

      Returns T | undefined

      The original parse tree node if found; otherwise, undefined.