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

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

Various HTTP clients for miscellaneous use.
Latest
method Utils.isPreviewRelease
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 value is a valid preview release type.

Parameters

value: unknown

The value to check.

Returns

value is ReleaseType

True if the value is a valid preview release type, otherwise false.