Module:Array: Difference between revisionsGive feedback
Jump to navigation
Jump to search
osrsw>Talulah m take_from type check |
osrsw>Talulah m test |
||
| Line 278: | Line 278: | ||
libraryUtil.checkType('Module:Enum.take_from', 2, index, 'number') | libraryUtil.checkType('Module:Enum.take_from', 2, index, 'number') | ||
libraryUtil.checkType('Module:Enum.take_from', 3, count, 'number') | libraryUtil.checkType('Module:Enum.take_from', 3, count, 'number') | ||
mw.logObject(enum) | |||
mw.log(index, count) | |||
local x, _ = p.split(p.reject(enum, | local x, _ = p.split(p.reject(enum, | ||
function(item, idx) | function(item, idx) | ||