Skip to content

Kirby 4.2.0

$parsley->isBlock()

Checks if the given DOMNode is a block element

$parsley->isBlock(DOMNode $element): bool

Parameters

Name Type Default
$element * DOMNode

Return type

bool

Parent class

Kirby\Parsley\Parsley