import { semver } from "https://deno.land/x/fresh@1.4.0/src/dev/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.
Returns
value is SemVerRange
True if its a valid SemVerRange otherwise false.