Class BoolHelper


  • public class BoolHelper
    extends Object
    The helper for bool vals.
    • Field Detail

      • trueVal

        public final Val trueVal
        Kink true.
      • falseVal

        public final Val falseVal
        Kink false.
    • Method Detail

      • of

        public Val of​(boolean bl)
        Returns a bool val from the Java boolean.
        Parameters:
        bl - the Java boolean.
        Returns:
        a bool val.
      • isBool

        public boolean isBool​(Val val)
        Returns true if the val is a bool val.
        Parameters:
        val - the val.
        Returns:
        true if the val is a bool val.