BooleanValue
Native Pascal, workflow preparation
Description
Returns the value of a wjBoolean member of this object: true when its text is true, false when its text is false. A missing member or a member of any other kind yields DefaultValue.
Syntax
Delphi
Function TPLWorkflowJSON.BooleanValue(Const MemberName: WideString; DefaultValue: Boolean): Boolean;Parameters
| MemberName | Member name to read |
|---|---|
| DefaultValue | Value returned when the member is absent or not a boolean |
Return values
| Boolean | The member value, or DefaultValue |
|---|