IsPullRequest reports whether number in repo is a pull request rather than an issue, with one lookup.
(repo ghrepo.Interface, number int)
| 23 | // IsPullRequest reports whether number in repo is a pull request rather |
| 24 | // than an issue, with one lookup. |
| 25 | IsPullRequest(repo ghrepo.Interface, number int) (bool, error) |
| 26 | // UploadTarget is IsPullRequest for a command that uploads files with |
| 27 | // --attach. Its one lookup also returns what an upload needs to know |
| 28 | // about repo. |
no outgoing calls