Table of Contents

TJElement.AsBoolean Method

Returns the value of this element as a Boolean.

Remarks

Raises EInvalidJsonCast if the element cannot be converted to Boolean.

Syntax

Unit: Bcl.Json.Classes

function TJElement.AsBoolean: Boolean; virtual;

See also