$dimension->square()
Checks if the dimensions are square
-
return (boolean)
Example
<?php if($page->image()->square()): ?>
This image is square
<?php endif ?>
Checks if the dimensions are square
<?php if($page->image()->square()): ?>
This image is square
<?php endif ?>