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

The left side comparator

The right side comparator

Returns

boolean

True if any part of the comparators intersect