Skip to content

Kirby 5.1.2

$slot->isOpen()

Returns whether the slot is currently open and being buffered

$slot->isOpen(): bool

Return type

bool

This method modifies the existing $slot object it is applied to and returns it again.

Parent class

Kirby\Template\Slot