Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method PullRequestClient.prototype.pullRequestExists
import { PullRequestClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/GitHubClients/PullRequestClient.ts";

Checks if a pull request with the given prNumber exists in a repository with a name that matches the given PullRequestClient.repoName.

Parameters

prNumber: number

The number of the pull request.

Returns

Promise<boolean>

True if the pull request exists, otherwise false.