Converts a String or Boolean object to the primitive boolean data type.
Syntax
boolean toPrimitiveBoolean(Object objectData)
Parameters
Return values
Returns a primitive boolean value.
Exceptions
DtpIncompatibleFormatException - If the source data type cannot be converted to boolean.
Examples
boolean MyBoolean = DtpDataConversion.toPrimitiveBoolean(MyStringObj);
See also