Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/lib/stdx/semver.ts>intersects

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
function intersects
import { intersects } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/semver.ts";

Returns true if the two supplied ranges or comparators intersect.

Parameters

range1: string | Range | Comparator
range2: string | Range | Comparator
optional
options: Options

Returns

boolean