$parsley->isBlock()
Checks if the given DOMNode is a block element
$parsley->isBlock(DOMNode $element): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $elementrequired | DOMNode |
no default value |
Return type
bool
This method modifies the existing $parsley object it is applied to and returns it again.