unref

fun unref()

Decreases the reference count of @value. When its reference count drops to 0, the memory used by the variant is freed.

Since

2.24