Przejdź do głównej treści

Argumenty

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

Zwroty

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

Przykład

Hash the Proto bytes for a Luau function closure.