nullptr top-level property

Pointer<Never> nullptr

Represents a pointer into the native C memory corresponding to "NULL", e.g. a pointer with address 0.

You can compare any other pointer with this pointer using == to check if it's also an nullpointer.

Any other operation than comparing (e.g. calling Pointer.cast) will result in exceptions.


final Pointer<Never> nullptr = new Pointer<Never>._null();