Skip to main content
Go to Latest
function comparatorIntersects
Re-export
Deprecated
Deprecated

(will be removed in 0.214.0) Use rangeIntersects instead.

import { comparatorIntersects } from "https://deno.land/std@0.213.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