Html::isVoid()
Checks if a tag is self-closing
Html::isVoid(string $tag): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $tagrequired | string |
no default value |
Return type
bool
Parent class
Kirby\Cms\Html
inherited from Kirby\Toolkit\Html
Checks if a tag is self-closing
Html::isVoid(string $tag): bool
| Name | Type | Default |
|---|---|---|
| $tagrequired | string |
no default value |
bool
Kirby\Cms\Html
inherited from Kirby\Toolkit\Html