Boolean.toString

Returns a {@code string} object representing the specified bool. If the specified bool is {@code true}, then the string {@code "true"} will be returned, otherwise the string {@code "false"} will be returned.

@param b the bool to be converted @return the string representation of the specified {@code bool}

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

Meta