Function Location
How do I get the source location of a function?
The debugger knows where it is, but I don't know how to call
FunctionLocation
which is listed in double square brackets3 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
thank you. is there any way to "cheat" and get them ?? (smile)
If you own the code where the function is defined, you could maybe do something like
myFunction.functionLocation = import.meta.url
Typescript probably won't like it though