Returns the class name either of the class definition or of the class of an instance.
Note when code is minimized/uglified this output will change. You should disable in your compile the className modification.
class User {}expect(getClassName(User)).toBe('User');expect(getClassName(new User())).toBe('User');
Generated using TypeDoc
Returns the class name either of the class definition or of the class of an instance.
Note when code is minimized/uglified this output will change. You should disable in your compile the className modification.
Example