Skip to main content

参数

function
必填
Luau function to disassemble. C closures are rejected.
DisassembleOptions
Optional table read for Recursive, ShowLines, ShowConstants, and StringPreviewMax. Missing fields or fields with the wrong type leave the default value unchanged.

返回值

string
Formatted disassembly text with a trailing newline.

类型

DisassembleOptions

控制 Luau 字节码在反汇编输出中的呈现方式。

示例

Disassemble a callback with selected output options.