convertsToBoolean
convertsToBoolean()
Section titled “convertsToBoolean()”Category: Conversion
Returns true if the input can be converted to a boolean
Signature
Section titled “Signature”- Return type:
Boolean
Examples
Section titled “Examples”'true'.convertsToBoolean()'false'.convertsToBoolean()'invalid'.convertsToBoolean()