isValid method

bool isValid(
  1. MemoryPointer<RType> p
)

Whether the pointer stored in the slot at p is non-null.

Implementation

bool isValid(MemoryPointer p) => !deref(p).isNull;