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

std/semver/mod.ts>intersects

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function intersects
Deprecated
Deprecated

(will be removed after 0.200.0) Use rangeIntersects(r0: SemVerRange, r1: SemVerRange) instead.

import { intersects } from "https://deno.land/std@0.199.0/semver/mod.ts";

Parameters

range0: string | SemVerRange | SemVerComparator
range1: string | SemVerRange | SemVerComparator
optional
_options: { includePrerelease: boolean; }