isInteger64

isInteger64(): Boolean;

The isInteger64 method of the String primitive type returns true if the receiver represents a 64-bit integer value; otherwise, it returns false.

The following example shows the use of the isInteger64 method.

vars
    stringValue : String;
begin
    stringValue := '+123';
    write stringValue.isInteger64;   // Outputs true
    stringValue := '+123.456';
    write stringValue.isInteger64;   // Outputs false
end;