There is this Nearest Feature function in the older ArcGIS Desktop SDK
https://desktop.arcgis.com/en/arcobjects/10.7/net/webframe.htm#IIndexQuery2_NearestFeature.htm
I'm looking for the equivalent in ArcGIS Pro to programmatically use but haven't been able to find it. I've looked in arcpy as well. I'm aware of the Generate Near Table, but that is too much overhead when I am just looking for the nearest feature to another one.
How can I use this functionality in ArcGIS Pro?