Skip to content

TFPExprIdentifierDef.AsBoolean

Get identifier value as boolean

Declaration

Source position: fpexprpars.pp line 542

public property AsBoolean: Boolean;

Description

The AsBoolean property returns the identifier's value converted to a boolean value. If the identifier represents a variable, it retrieves the current value; if it represents a function, it calls the function and returns the result converted to boolean format.