perf: simplify `isValidOptions`
perf: simplify `isValidOptions`

A bit simpler flow and should shave some weight off of the final build

emilio-martinez/is-datatype,emilio-martinez/is-datatype,emilio-martinez/is-datatype