mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-13 08:04:53 +09:00
Many Changes To Doc
This commit is contained in:
1 parent
9b80e8d8fe
commit
310d9599b8
31 files changed
+798
-561
No files matched your search
@@ -69,11 +69,8 @@ end
|
||||
--- Given a candidate search function, iterates over the table, calling the function
|
||||
-- for each element in the table, and returns true if search function returned true.
|
||||
-- Passes the index as second argument to the function.
|
||||
-- @see table.find
|
||||
--- @usage a= { 1, 2, 3, 4, 5}
|
||||
---table.any(a, function(v) return v % 2 == 0 end) --produces: true
|
||||
--- @usage a = {1, 2, 3, 4, 5}
|
||||
---table.any(a, function(v, k, x) return k % 2 == 1 end) --produces: true
|
||||
-- @usage a= { 1, 2, 3, 4, 5} table.any(a, function(v) return v % 2 == 0 end) --produces: true
|
||||
-- @usage a = {1, 2, 3, 4, 5} table.any(a, function(v, k, x) return k % 2 == 1 end) --produces: true
|
||||
-- @tparam table tbl the table to be searched
|
||||
-- @tparam function func the function to use to search for any matching element
|
||||
-- @param[opt] ... additional arguments passed to the function
|
||||
|
||||
Reference in new issue
Block a user