Boolean.prototype.toString()
Boolean.prototype.toString() is a JavaScript method in the Boolean category. Returns string representation. The syntax is bool.toString(). A typical example: true.toString() // "true". A close sibling is Boolean(), which converts a value to a boolean primitive. A close sibling is Boolean.prototype.valueOf(), which returns the primitive value. More about this category: Boolean methods for truth value handling. Related Boolean methods: Boolean(), Boolean.prototype.valueOf(). This page is part of the free JS Reference documentation covering 1027+ methods, each with syntax, parameters, return values, examples, and common pitfalls. You can try Boolean.prototype.toString() immediately in the JavaScript playground, look up unfamiliar terms in the glossary, or return to the JS Reference homepage.