Skip to main content
The Deno 2 Release Candidate is here
Learn more
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.196.0/semver/range_intersects.ts";

Parameters

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