Skip to main content
Go to Latest
function comparatorIntersects
Re-export
import { comparatorIntersects } from "https://deno.land/std@0.202.0/semver/mod.ts";

Returns true if the range of possible versions intersects with the other comparators set of possible versions

Parameters

c0: SemVerComparator

The left side comparator

c1: SemVerComparator

The right side comparator

Returns

boolean

True if any part of the comparators intersect