import { Utils } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/core/Utils.ts";
Provides utility functions.
Static Methods
Builds a URL to the labels page of a repository with a name that matches the given repoName and is owned by the given ownerName.
Builds a URL to a pull request that matches the given prNumber in a repository with a name that matches the given repoName and is owned by the given ownerName.
Returns a number that is clamped between the given min and max values.
Returns a value indicating whether or not the given value is a valid release type.
Returns a value indicating whether or not the given path is a directory path.
Returns a value indicating whether or not the given value is a file path.
Returns a value indicating whether or not the given issueOrPr is an issue.
Returns a value indicating whether or not the given path is not a directory path.
Returns a value indicating whether or not the given value is not a file path.
Checks if the value is null, undefined, or empty.
Checks if the given version is not a valid preview version.
Checks if the given version is not valid production version.
Returns a value indicating if the given value is a number.
Returns a value indicating whether or not the given issueOrPr is a pull request.
Returns a value indicating whether or not the given value is a valid preview release type.
Returns a value indicating whether or not the given value is a valid production release type.
Returns a value indicating if the given value is a string.
Normalizes the given path by replacing all back slashes with forward slashes, and trimming any and ending slashes.
Prints an empty line to the console.
Prints the given message as a error.
Splits the given value by the given separator.
Splits the given value by comma.
Combines the given mainMsg and requestResponse error messages into one error message.
Trims the given valueToRemove from the end of the given valueToTrim until the valueToRemove does not exit anymore.
Trims the given valueToRemove from the start of the given valueToTrim until the valueToRemove does not exit anymore.
Checks if the given version is a valid preview version.
Checks if the given version is a valid production version.