Commit de0cfba1 authored by Chen Bill's avatar Chen Bill

update parameter type

parent 81a5cb7f
...@@ -1079,7 +1079,7 @@ end ...@@ -1079,7 +1079,7 @@ end
---@param f function ---@param f function
---@param min? integer ---@param min? integer
---@param max? integer ---@param max? integer
---@param ...? unknown ---@param ... any
---@return boolean ---@return boolean
function Group.CheckSubGroup(g,f,min,max,...) function Group.CheckSubGroup(g,f,min,max,...)
min=min or 1 min=min or 1
...@@ -1104,7 +1104,7 @@ end ...@@ -1104,7 +1104,7 @@ end
---@param cancelable boolean ---@param cancelable boolean
---@param min? integer ---@param min? integer
---@param max? integer ---@param max? integer
---@param ...? unknown ---@param ... any
---@return Group|nil ---@return Group|nil
function Group.SelectSubGroup(g,tp,f,cancelable,min,max,...) function Group.SelectSubGroup(g,tp,f,cancelable,min,max,...)
Auxiliary.SubGroupCaptured=Group.CreateGroup() Auxiliary.SubGroupCaptured=Group.CreateGroup()
...@@ -1187,7 +1187,7 @@ end ...@@ -1187,7 +1187,7 @@ end
---@param g Group ---@param g Group
---@param checks table ---@param checks table
---@param f? function ---@param f? function
---@param ...? unknown ---@param ... any
---@return boolean ---@return boolean
function Group.CheckSubGroupEach(g,checks,f,...) function Group.CheckSubGroupEach(g,checks,f,...)
if f==nil then f=Auxiliary.TRUE end if f==nil then f=Auxiliary.TRUE end
...@@ -1202,7 +1202,7 @@ end ...@@ -1202,7 +1202,7 @@ end
---@param checks table ---@param checks table
---@param cancelable? boolean ---@param cancelable? boolean
---@param f? function ---@param f? function
---@param ...? unknown ---@param ... any
---@return Group|nil ---@return Group|nil
function Group.SelectSubGroupEach(g,tp,checks,cancelable,f,...) function Group.SelectSubGroupEach(g,tp,checks,cancelable,f,...)
if cancelable==nil then cancelable=false end 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