Groovy Gradle - isOsWindows

/ Published in: Groovy
Save to your folder(s)

When this snippet is added to a class it provides the boolean property: osWindows

Copy this code and paste it in your HTML
  1. boolean isOsWindows() { return''.toLowerCase().contains('windows'); }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.