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.