isDocumentfunction isDocument(node: Node): node is Document;§isDocument(node: Node): node is Document[src]§Parameters§node: Node[src]Node to check. §Return Type§node is Document[src]true if the node has the type ProcessingInstruction, false otherwise.