Deprecated
(will be removed in 0.216.0) Use isRange
instead.
import { isSemVerRange } from "https://dotland.deno.dev/std@0.215.0/semver/mod.ts";
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.