Grasses are common throughout rainforests. They’re usually not particularly dominant and are generally small scrambling plants like *Oplismenus *or Cyrtococcum, but they are ubiquitous.
Check out the high, cold, mountainous deserts of the Zanskar mountains. Only where there is irrigation is there anything grass like.
‘The Vale of Kashmir’ was one of the wonders of the ancient world because of the astounding shock of a lush green valley, after miles and miles of empty desert, I believe.
The the McMurdo Dry Valleys of Antarctica have not seen rain for 2 million years, indeed they have no moisture of any sort - no water, ice, snow, nothing. So, no grass or anything else.
In the Fynbos Floristic Kingdom of the Western Cape, South Africa, the niche of “grasses” is generally filled by Restios. There are a few endemic fynbos grass species, but none come to mind easily.