true if the feature is implemented, false otherwise.bool hasFeature(string feature, string version_) @safeTests if the DOM implementation implements a specific feature.
feature | The name of the feature to test (e.g. "XML", "Core"). |
version_ | The version number of the feature to test. |
true if the feature is implemented, false otherwise.