Skip to main content
Module

x/kd_clients/mod.ts>LabelClient#labelExists

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

Returns a value indicating whether or not given label exists in a repository that matches the LabelClient.repoName.

Parameters

label: string

The name of the label to check for.

Returns

Promise<boolean>

True if the label exists, false otherwise.