cegredev / josi

A Java library designed to make making decisions based on the current operating system easier.
MIT License
36 stars 4 forks source link

Is (version) or greater helper methods #3

Closed dbwiddis closed 3 years ago

dbwiddis commented 3 years ago

Feature request: a common version use case is determining a minimum and/or maximum range of versions. It would be useful for you to add a few helper methods that do not require an explicit list.

For example, you currently have public boolean is(OS... operatingSystems). I'd suggest adding public boolean isAtLeast(OS operatingSystem).

cegredev commented 3 years ago

Great idea! I'm going to address this further in the PR.