stacktracejs/stacktrace.js

inside of object, get class name

xenoterracide opened this issue · 0 comments

I'm not certain if this is possible, but if the caller is a method, is it possible to tell that? would it then be possible to have

StackFrame.isMethod()
StackFrame.getConstructor()  // or Stackframe.getConstructorName()