import { isSemVerComparator } from "https://deno.land/std@0.199.0/semver/mod.ts";
Does a deep check on the value to see if it is a valid SemVerComparator object.
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 SemVerComparator
True if the object is a SemVerComparator otherwise false