Variant.isFloating

Checks whether value has a floating reference count.

This function should only ever be used to assert that a given variant is or is not floating, or for debug purposes. To acquire a reference to a variant that might be floating, always use Variant.refSink or Variant.takeRef.

See Variant.refSink for more information about floating reference counts.

class Variant
bool
isFloating
()

Return Value

Type: bool

whether value is floating

Meta

Since

2.26