Groovy web console

subscribe to the feed Subscribe
to this
site

Test Groovy

Published 1 week ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
class AdUser {
    String stahlgruberPersnr
}

AdUser adUser = new AdUser();
adUser["stahlgruberPersnr"] = "";

if (!adUser["stahlgruberPersnr"]) {
  println("stahlgruberPersnr is Empty");
} else {
  println("stahlgruberPersnr is Not Empty");

}