Is it possible to know if a function has captured local variables?

That can’t happen. Capturing is just for local variables with scopes that can end. Global variables just exist whereever they are.

1 Like