$dimension->square()

Checks if the dimensions are square

  • return (boolean)

Example

<?php if($page->image()->square()): ?>
This image is square
<?php endif ?>

Is something missing or incorrect? Edit this page on Github…