title: Flow - How to check range of numbers?
body: <p>I saw that Flow can <a href="https://flow.org/en/docs/lang/subtypes/" rel="nofollow noreferrer">check a set of possible values</a> but I don't know how I can check a possible range of numbers.</p>
  
  <p>When I used prop-types module, I could do a <a href="https://stackoverflow.com/a/41822323/1741027">custom validation</a> but in Flow I don't know how I can do something like this.</p>
  
  <p>Can anybody help me?</p>