Skip to content

Kirby 4.1.2

$image->isSquare()

Checks if the dimensions of the asset are square

$image->isSquare(): bool

Return type

bool

Parent class

Kirby\Image\Image