Luna::ObjRef::operator bool

operator bool() const

Checks whether this reference is valid.

One reference is valid when the underlying pointer is not nullptr.

Return value

Returns true when the reference is valid. Returns false otherwise.