Interface BooleanExpr

    • Method Detail

      • isBoolean

        default boolean isBoolean()
        Description copied from interface: Expr
        Check if this expression is a boolean expresion.
        Specified by:
        isBoolean in interface Expr
        Returns:
        if it is a boolean expression
      • asBoolean

        default Optional<BooleanExpr> asBoolean()
        Description copied from interface: Expr
        Get this expression as a boolean expression
        Specified by:
        asBoolean in interface Expr
        Returns:
        the expression or Optional.empty() if the type does not match