Boolean.toString

Returns a {@code string} object representing this Boolean's value. If this object represents the value {@code true}, a string equal to {@code "true"} is returned. Otherwise, a string equal to {@code "false"} is returned.

@return a string representation of this object.

  1. string toString(bool b)
  2. string toString()
    class Boolean
    override
    string
    toString
    ()

Meta