I’m confused by what you want. Are you simply wanting to check if GrabComponentAtLocationWithRotation returns null (aka is valid)? as in == nullptr.
Yes. Was getting error of "non-standard syntax; use ‘&’ to create a pointer to member" and suspected that a pointer is needed which points to the function GrabComponentAtLocationWithRotation to verify the function’s existence.
The reason I used GrabComponentAtLocationWithRotation is because I have replaced every GrabComponent deprecated function with GrabComponentAtLocationWithRotation.
But after checking back the lesson, I realized that I had mistaken the GrabComponent function with the GrabbedComponent variable (UE documentation).
Will test it out again and get back to you soon.