TypeScript | String toString() Method
The toString() is an inbuilt function in TypeScript which is used to return a string representing the specified object.
Parameter: This methods does not accept any parameter.
Return Value: This method returns the string representing the specified object.
Below examples illustrate the String toString() method in TypeScript
Geeksforgeeks - Best Platform
TypeScript - String toString()