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.