Skip to main content
Module

std/semver/mod.ts>rangeIntersects

The Deno Standard Library
Go to Latest
function rangeIntersects
import { rangeIntersects } from "https://deno.land/std@0.223.0/semver/mod.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