Skip to main content

dxIsNumberOrDateTime(Variant) Method

Identifies if the specified Variant value is a number or date/time.

Declaration

function dxIsNumberOrDateTime(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, or TDateTime value stored in a cell. Otherwise, the dxIsNumberOrDateTime function returns False.

Unlike the dxIsNumericOrDateTime function, this function returns False if the Variant value has a Boolean type.

See Also