Tests if the DOM implementation implements a specific feature.

[VBScript]
Public Function HasFeature( _
   ByVal feature As String, _
   ByVal version As String _
) As Boolean
[JScript]
public function HasFeature(
   feature : String,
   version : String
) : Boolean;

Parameters

feature
The name of the feature to test.
version
The zero-based index or the name of the element to get.

Return Value

true, if the feature is implemented; otherwise, false.

See Also

Implementation Object | Implementation Members | DOM Namespace