Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function rangeIntersects
import { rangeIntersects } from "https://deno.land/std@0.199.0/semver/range_intersects.ts";

The ranges intersect every range of AND comparators intersects with a least one range of OR ranges.

Parameters

r0: SemVerRange

range 0

r1: SemVerRange

range 1

Returns

boolean

returns true if any