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

Checks if an issue with the given issueNumber exists with the given state in a repository with a name that matches the given IssueClient.repoName.

Parameters

issueNumber: number

The number of the issue.

Returns

Promise<boolean>

True if the issue exists, otherwise false.