I think thats currently just not documented, but as I see it "IS_PULL_REQUEST" is true in preview environments as well as pull request previews. which is nice, but missing in the docs.