Module

x/fluentci/deps.ts>semver.isSemVerRange

This is the command line interface for FluentCI.
Go to Latest
function semver.isSemVerRange
import { semver } from "https://dotland.deno.dev/x/fluentci@v0.13.0/deps.ts";
const { isSemVerRange } = semver;

Does a deep check on the object to determine if its a valid range.

Objects with extra fields are still considered valid if they have at least the correct fields.

Adds a type assertion if true.

Parameters

value: unknown

The value to check if its a valid SemVerRange

Returns

value is SemVerRange

True if its a valid SemVerRange otherwise false.