Luna::Ref::valid

bool valid() const

Checks whether this reference is valid.

One strong reference is valid when it is not null.

Return value

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