Is there a way to check if the param of the url is empty?

I am using a param to filter articles. Is there a way to create an if statement when the page has a param, don’t show something.

I tried this so far:

<?php if ($page->param()->isNotEmpty()) : ?><?php endif ?>

$page->param() is not valid method. You check for a url parameter with the param() helper.

@texnixe I tried to work with that but my programming skills are not enough I’m afraid. Any idea how I can implement this in a if statement?

if ($param = param('yourparamname')) {
  // do stuff
}

@texnixe :pray: