title: How to tell javascript "any number bigger than" on a ternary operator?
body: <p>I need to establish a ternary operator with a condition: whenever the URL is /index/ plus any number bigger than "1" does X.</p>
  
  <p>I tried this (the string with the "to" propriety:</p>
  
  <pre><code>&lt;Spring
      from={{ height: location.pathname === '/' ? '0vh' : '0vh' }}
      to={{ height: (location.pathname === '/' || location.pathname === '/index/' + (&gt;= 2) ) ? '36vh' : '0vh' }}
  &gt;
  </code></pre>
  
  <p>Unfortunately, it doesn't work. 
  It's for a pagination problem (I don't know how much pages will be created).</p>