Skip to main content

参数

table
必填
要 enumerate 的 table。function 使用 type checking 检查此 argument。

返回值

table
包含 input table 的 direct values 的 new array-style table。output 会 marked as JSON array。Enumeration 使用 table iteration,因此 function 中看不到 ordering guarantee。

示例

将 table 的 direct values 收集到 JSON array-marked table。