Function Node.hasNodeAndResource
Returns true
if the NodePath
points to a valid node and its subname points to a valid resource, e.g. Area2D/CollisionShape2D:shape
. Properties with a non-Resource
type (e.g. nodes or primitive math types) are not considered resources.
bool hasNodeAndResource(NodePathArg0)
(
in NodePathArg0 path
) const;