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

std/semver/mod.ts>rangeIntersects

Deno standard library
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/mod.ts";

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

Parameters

range 0

range 1

Returns

boolean

returns true if any