How can I use operators within Twig hashes? I'm looking for documentation on how to use operators in hashes in Twig. Someone mentioned this in the Google+ support group the other day and I was unable to find any docs or examples.

{% set eventParams = {
  section       : 'events',
  order         : 'startDateTime asc',
  startDateTime : '&gt;= '~now
} %}


If I wanted the startDateTime hash to use a range of dates, say ( &gt;= now and &lt;= now + 5 days ) how would I specify that in the startDateTime hash?

Is this a hash syntax that is specific to Twig?
That's what you are after:

startDateTime : 'and', '&gt;= ' ~ now, '&lt;= ' ~ now | date_modify('+5 days')