Skip to main content

参数

function
必填
Luau function to hash. Passing a C closure raises “Lua function expected”.

返回值

string | nil
Uppercase SHA384 hex digest string, or nil if no hashable function content is available.

示例

Hash the Proto bytes for a Luau function closure.