Skip to main content

dxIsNumericOrDateTime(Variant) Method

Identifies if the specified Variant value has a numeric or TDateTime type.

Declaration

function dxIsNumericOrDateTime(const AValue: Variant): Boolean;

Parameters

Name Type
AValue Variant

Returns

Type
Boolean

Remarks

This function returns True if the Variant value, passed as the AValue parameter, represents an Integer, Float, Boolean or TDateTime value stored in a cell. Otherwise, the dxIsNumericOrDateTime function returns False.

See Also