How to get FuncRef attached instance ( GDScript )

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Alikae

I’m trying to retrieve the instance ‘attached’ to a FuncRef.
Is it possible through GDScript ?

Looking in the doc, it only have one uninherited attribute: function.
Looking in the Godot source (C++ side), FuncRef have an id attribute, that reference the instance.
But I don’t know enough about GDScript interpretation to know if this id is available to me, or even if I should use it.

I could obviously create my own object that store a FuncRefand the corresponding instance, but it seems not right as I know the data is somewhere over there.