public hasFeature(feature as String, version as String) as Boolean
Indicates whether this implementation supports a DOM feature.
| Parameter | Description |
|---|---|
feature | Feature name, such as "Core". |
version | Feature version, such as "3.0". |
True when supported.
print(implementation.hasFeature("Core", "3.0"))