Programmer's Guide > Interfaces > W3C Node interface > isSupported method
  
isSupported method
Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.
isSupported(feature, version)
Parameters
Stringfeature
The name of the feature to test. This is the same name which can be passed to the method hasFeature on DOMImplementation.
Stringversion
This is the version number of the feature to test. In Level 2, version 1, this is the string "2.0". If the version is not specified, supporting any version of the feature will cause the method to return true.
Returns
boolean. Returns true if the specified feature is supported on this node, false otherwise.