WeakReference::get

Get a weakly referenced Object

Description

public objectnull WeakReference::get()

Gets a weakly referenced object. If the object has already been destroyed, null is returned.

Parameters

This function has no parameters.

Return Values

Returns the referenced object, or null if the object has been destroyed.