Skip to main content

Arguments

table
required
Table to enumerate. The function checks this argument with type checking.

Returns

table
New array-style table containing the direct values from the input table. The output is marked as a JSON array. Enumeration uses table iteration, so no ordering guarantee is visible in the function.

Example

Collect the direct values from a table into a JSON array-marked table.