Returns true if the given value is an XML node with the node name and if the optional attribute has the specified value.

This implementation assumes that the given value is a DOM node if the nodeType property is numeric, that is, if isNaN returns false for value.nodeType.

  • Parameters

    • value: any

      Object that should be examined as a node.

    • nodeName: null | string = null

      String that specifies the node name.

    • OptionalattributeName: string

      Optional attribute name to check.

    • OptionalattributeValue: string

      Optional attribute value to check.

    Returns boolean