Mercurial Hosting > luan
diff core/src/luan/Luan.java @ 443:bf5e62a9090c
remove toBoolean() and to_boolean()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 04 May 2015 14:55:51 -0600 |
parents | 93e6e67768d7 |
children | bbad2d06f728 |
line wrap: on
line diff
--- a/core/src/luan/Luan.java Mon May 04 13:49:12 2015 -0600 +++ b/core/src/luan/Luan.java Mon May 04 14:55:51 2015 -0600 @@ -47,10 +47,6 @@ return "userdata"; } - public static boolean toBoolean(Object obj) { - return obj != null && !Boolean.FALSE.equals(obj); - } - public static Number toNumber(Object obj) { return toNumber(obj,null); }