Skip to main content
Module

std/semver/eq.ts>eq

Deno standard library
Go to Latest
function eq
import { eq } from "https://deno.land/std@0.200.0/semver/eq.ts";

Returns true if they're logically equivalent, even if they're not the exact same version object.

Returns

boolean

Parameters

s0: string | SemVer
s1: string | SemVer
optional
options: { includePrerelease: boolean; }

Returns

boolean