Class: qgsVariantGreaterThan

class qgis.core.qgsVariantGreaterThan(lhs: Any, rhs: Any) → bool

Compares two QVariant values and returns whether the first is greater than the second. Useful for sorting lists of variants, correctly handling sorting of the various QVariant data types (such as strings, numeric values, dates and times)

See also

qgsVariantLessThan()

Enums

Methods

Signals

Attributes