import { Utils } from "https://deno.land/x/kd_clients@v0.0.5/core/Utils.ts";
Provides utility functions.
Static Methods
clamp(): number
value: number,
min: number,
max: number,
Returns a number that is clamped between the given min and max values.
isIssue(issueOrPr: IssueModel | PullRequestModel): issueOrPr is IssueModel
Returns a value indicating whether or not the given issueOrPr is an issue.
isNullOrEmptyOrUndefined<T>(value: ): value is
| undefined
| null
| string
| number
| boolean
| T[]
| (() => T)
| object
| undefined
| null
| ""
| number
| T[]
| (() => T)
Checks if the value is null, undefined, or empty.