isXML

Determines whether a string is well-formed XML text.

isXML(value) → returns boolean

isXML Argument Reference

value
Required

A string containing the XML document text.

Fork me on GitHub