org.snapscript.tree.condition.BooleanChecker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap Show documentation
Show all versions of snap Show documentation
Dynamic scripting for the JVM
package org.snapscript.tree.condition;
import static java.lang.Boolean.FALSE;
public class BooleanChecker {
public static boolean isTrue(Object value) {
return value != null && !FALSE.equals(value);
}
}