Debugdebug.getprotos
Debug

debug.getprotos

Retrieves all nested function prototypes.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function debug.getprotos(func: (...any) -> (...any) | number): { (...any) -> (...any) }

Returns

A list of prototypes.