Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function comparatorIntersects
import { comparatorIntersects } from "https://deno.land/std@0.211.0/semver/comparator_intersects.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