https://www.reddit.com/r/GooglePixel/comments/9qzyry/pixel_2...
I know this is true because I've tried it. I have the camera loaded on a pixel 2, and the iPhone is pitch dark in images where the pixel is fully illuminated with night sight.
More details here: https://www.anandtech.com/show/12676/the-huawei-p20-p20-pro-...
And remember anandtech did not have night sight. The p20 quality is attributed to the larger sensor.