comparison core/src/luan/modules/BasicLuan.java @ 536:3058870cbe83

add Luan.number_type and Lucene.query.range
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 01 Jun 2015 00:27:45 -0600
parents 8a217fe5b4f3
children 5fed3de0aac7
comparison
equal deleted inserted replaced
535:289908469e02 536:3058870cbe83
223 } catch(LuanException e) { 223 } catch(LuanException e) {
224 return new Object[]{false,e.table()}; 224 return new Object[]{false,e.table()};
225 } 225 }
226 } 226 }
227 227
228 public static String number_type(LuanState luan,Number v) throws LuanException {
229 Utils.checkNotNull(luan,v);
230 return v.getClass().getSimpleName().toLowerCase();
231 }
232
228 } 233 }