constRange=require('../classes/range')constvalidRange=(range,options)=>{try{// Return '*' instead of '' so that truthiness works.// This will throw if it's invalid anywayreturnnewRange(range,options).range||'*'}catch(er){returnnull}}module.exports=validRange