Closuresgetfunctionhash
Closures

getfunctionhash

Hashes the instructions and constants of a Luau function.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function getfunctionhash(functionToHash: (...any) -> (...any)): string

Returns

A hexadecimal SHA-384 hash.