Metatablegetnamecallmethod
Metatable

getnamecallmethod

Retrieves the method that invoked `__namecall`.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function getnamecallmethod(): string?

Returns

The method name, or nil outside an appropriate hook.