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

x/kd_clients/GitHubClients/mod.ts>ReleaseClient#assetExists

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

Returns a value indicating whether a release with an id or tag matches the given releaseIdOrTag, and a release asset with an id or name matches the given assetIdOrName.

Parameters

releaseIdOrTag: number | string

The release id or tag name.

assetIdOrName: number | string

The asset id or name.

Returns

Promise<boolean>

True if the asset exists, otherwise false.