isDefaultNamespace method

bool isDefaultNamespace(
  1. String? namespace
)
inherited

The isDefaultNamespace() method of the Node interface accepts a namespace URI as an argument. It returns a boolean value that is true if the namespace is the default namespace on the given node and false if not.

Note: The default namespace of an HTML element is always "". For a SVG element, it is set by the xmlns attribute.

Implementation

external bool isDefaultNamespace(String? namespace);