Boolean.valueOf

Returns a {@code Boolean} with a value represented by the specified string. The {@code Boolean} returned represents a true value if the string argument is not {@code null} and is equal, ignoring case, to the string {@code "true"}.

@param s a string. @return the {@code Boolean} value represented by the string.

  1. Boolean valueOf(bool b)
  2. Boolean valueOf(string s)
    class Boolean
    static
    valueOf
    (
    string s
    )

Meta