Skip to content

Commit

Permalink
Rename eval to bool
Browse files Browse the repository at this point in the history
  • Loading branch information
sabihoshi committed Feb 28, 2020
1 parent c897261 commit 28f60c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/jagrosh/jagtag/libraries/Functional.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static Collection<Method> getMethods() {
}, "|then:", "|else:"),

// performs a conditional and outputs true/false
new Method("eval", (env, in) -> {
new Method("bool", (env, in) -> {
if(in[0].equalsIgnoreCase("true"))
return "true";
if(in[0].equalsIgnoreCase("false"))
Expand Down

0 comments on commit 28f60c0

Please sign in to comment.