Commit de0cfba1 authored by Chen Bill's avatar Chen Bill

update parameter type

parent 81a5cb7f
......@@ -1079,7 +1079,7 @@ end
---@param f function
---@param min? integer
---@param max? integer
---@param ...? unknown
---@param ... any
---@return boolean
function Group.CheckSubGroup(g,f,min,max,...)
min=min or 1
......@@ -1104,7 +1104,7 @@ end
---@param cancelable boolean
---@param min? integer
---@param max? integer
---@param ...? unknown
---@param ... any
---@return Group|nil
function Group.SelectSubGroup(g,tp,f,cancelable,min,max,...)
Auxiliary.SubGroupCaptured=Group.CreateGroup()
......@@ -1187,7 +1187,7 @@ end
---@param g Group
---@param checks table
---@param f? function
---@param ...? unknown
---@param ... any
---@return boolean
function Group.CheckSubGroupEach(g,checks,f,...)
if f==nil then f=Auxiliary.TRUE end
......@@ -1202,7 +1202,7 @@ end
---@param checks table
---@param cancelable? boolean
---@param f? function
---@param ...? unknown
---@param ... any
---@return Group|nil
function Group.SelectSubGroupEach(g,tp,checks,cancelable,f,...)
if cancelable==nil then cancelable=false end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment