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.220.1/semver/range_intersects.ts";

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

Parameters

r0: Range

range 0

r1: Range

range 1

Returns

boolean

returns true if any