MCPcopy Index your code
hub / github.com/cli/cli / isBlank

Function isBlank

api/queries_pr.go:731–740  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

729}
730
731func isBlank(v interface{}) bool {
732 switch vv := v.(type) {
733 case string:
734 return vv == ""
735 case []string:
736 return len(vv) == 0
737 default:
738 return true
739 }
740}
741
742func PullRequestClose(httpClient *http.Client, repo ghrepo.Interface, prID string) error {
743 var mutation struct {

Callers 1

CreatePullRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected