Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/mod.ts>PullRequestClient#openPullRequestExists

Various HTTP clients for miscellaneous use.
Go to Latest
method PullRequestClient.prototype.openPullRequestExists
import { PullRequestClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/mod.ts";

Returns a value indicating whether or not an open pull request with the given prNumber exists in a repository that matches the given PullRequestClient.repoName.

Parameters

prNumber: number

The pull request number.

Returns

Promise<boolean>

True if the pull request exists and is open, otherwise false.