Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/semver/equals.ts>equals

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

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

This is equal to compare(s0, s1) === 0.

Returns

boolean