Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ IsPullRequest
Method
IsPullRequest
api/queries_issue.go:130–132 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
128
)
129
130
func
(i Issue) IsPullRequest() bool {
131
return
i.Typename == TypePullRequest
132
}
133
134
type
Assignees
struct
{
135
Nodes []GitHubUser
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected