Skip to main content

dom_has_child_nodes

Function dom_has_child_nodes 

Source
pub fn dom_has_child_nodes(
    it: &mut Interp,
    this: Value,
    _a: &[Value],
) -> Result<Value, Value>
Expand description

node.hasChildNodes()(丸ごと未対応だった。node.childNodes.length > 0 の定番の手間を省くメソッド)。