comparison core/src/luan/LuanState.java @ 443:bf5e62a9090c

remove toBoolean() and to_boolean()
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 04 May 2015 14:55:51 -0600
parents c6bcb8859b93
children b48cfa14ba60
comparison
equal deleted inserted replaced
442:75ccb4da803f 443:bf5e62a9090c
70 70
71 public Object call(LuanFunction fn,String fnName,Object[] args) throws LuanException { 71 public Object call(LuanFunction fn,String fnName,Object[] args) throws LuanException {
72 return JAVA.call(fn,fnName,args); 72 return JAVA.call(fn,fnName,args);
73 } 73 }
74 74
75 public Boolean checkBoolean(Object obj) throws LuanException {
76 return JAVA.checkBoolean(obj);
77 }
78
75 public String checkString(Object obj) throws LuanException { 79 public String checkString(Object obj) throws LuanException {
76 return JAVA.checkString(obj); 80 return JAVA.checkString(obj);
77 } 81 }
78 82
79 public LuanFunction checkFunction(Object obj) throws LuanException { 83 public LuanFunction checkFunction(Object obj) throws LuanException {