bool contains(
Node other
)

Returns true if this node contains the specified node.

Other resources

Source

/**
 * Returns true if this node contains the specified node.
 *
 * ## Other resources
 *
 * * [Node.contains]
 * (https://developer.mozilla.org/en-US/docs/Web/API/Node.contains) from MDN.
 */
@DomName('Node.contains')
@DocsEditable()
bool contains(Node other) => _blink.BlinkNode.instance.contains_Callback_1_(unwrap_jso(this), unwrap_jso(other));