3 ms·
The same way you detect unused variables: Look for accesses, and if nothing accesses the function, it's unused. Note that I'm talking about non-exported functi
by kstenerud 7y ago
The same way you detect unused variables: Look for accesses, and if nothing accesses the function, it's unused.
Note that I'm talking about non-exported functions (i.e. someFunction rather than SomeFunction).