Value.compare

Compares two values of the same type.

class Value
int
compare

Parameters

value2 Value

the other GdaValue to be compared to value1.

Return Value

Type: int

if both values have the same type, returns 0 if both contain the same value, an integer less than 0 if value1 is less than value2 or an integer greater than 0 if value1 is greater than value2.

Meta