String
.
valueOfBoolean()
Signature
String valueOfBoolean (boolean b)
Domain
action, condition
Description
Returns a String representation of the boolean passed in.
Parameters
Name
Type
Description
b
boolean
A boolean to get the value of (convert to String).
Returns
Type
Description
String
A String representation of the boolean passed in.
Cautions
none
Example
String result = String.valueOfBoolean (true);
Result is:
result contains: "true"