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

Parameters

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