LuaSTG-x Core API
x::range Class Reference

Public Member Functions

static function range (local start, local stop, local step)
 

Constructor & Destructor Documentation

◆ range()

static function range ( local  start,
local  stop,
local  step 
)

Returns a iterator of range [start, stop) or [0, start)

Parameters
startnumber
stopnumber
stepnumber @ will be 1 if ommited
Returns
function

The documentation for this class was generated from the following file: