For the complete documentation index, see llms.txt. This page is also available as Markdown.

WrapInFunction

This Step Wraps the Entire Script into a Function

Legacy mirror: Prometheus documentation has moved to https://prometheus-lua.github.io/Prometheus/docs/. This GitBook remains online for existing links/search results and may not always reflect the latest changes.

Settings

Name
type
description

Iterations

number

The Number Of Iterations

Example

in.lua
print("Hello, World!")
out.lua
-- Iterations = 1
return (function()
    print("Hello, World!")
end)()

Last updated