This shows what an NBA basketball court looks like:
As you can see, the 3-point line is an arc until it gets close to the sides of the court, where it becomes a straight line due to not being able to fit within the width of the court.
The distance from any point on the curve of the 3-point line to the basket is 23.75 feet, and the distance of the closest part of the straight portions of the 3-point line to the basket are 22.0 feet.
You would think that shooting percentages for 3-pointers would be higher when they are taken along the straight portions of the line near the sides of the court, since those parts of the 3-point line are closer to the basket. Has this been confirmed by any analysis showing shooting percentages from different areas of the 3-point line?