Method: Browser::DOM::Node#comment?
- Defined in:
- opal/browser/dom/node.rb
#comment? ⇒ Boolean
Return true if the node is a comment.
281 282 283 |
# File 'opal/browser/dom/node.rb', line 281 def comment? node_type == COMMENT_NODE end |