Class: qgsVariantEqual

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

Compares two QVariant values and returns whether they are equal, two NULL values are always treated as equal and 0 is not treated as equal with NULL

Parameters
  • lhs – first value

  • rhs – second value

Returns

True if values are equal

Enums

Methods

Signals

Attributes