Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kd_clients/core/Utils.ts>Utils.isPr

Various HTTP clients for miscellaneous use.
Latest
method Utils.isPr
import { Utils } from "https://deno.land/x/kd_clients@v1.0.0-preview.13/core/Utils.ts";

Returns a value indicating whether or not the given issueOrPr is a pull request.

Parameters

issueOrPr: unknown

The issue or pull request to check.

Returns

issueOrPr is PullRequestModel

True if the given issue or pull request is a pull request, otherwise false.