Skip to content

Kirby 4.5.0

$dimensions->square()

Checks if the dimensions are square

$dimensions->square(): bool

Return type

bool

Parent class

Kirby\Image\Dimensions