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)

Parameters
  • lhs (Any) –

  • rhs (Any) –

Return type

bool .. autoautosummary:: qgis.core.qgsVariantGreaterThan

enums

nosignatures