Skip to content
Thomas Weinert edited this page Jul 31, 2014 · 1 revision

FluentDOM\Query::hasData()

bool hasData([ DOMElement $element = NULL ]);

Validate if the element has an data attributes attached. If it is called without an actual $element parameter, it will check the first matched node.

Clone this wiki locally