std/semver/neq.ts
Tim Reichen 0a32c8f5e8
deprecation(semver): rename eq(), neq(), lt(), lte(), gt() and gte() (#4083)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-01-23 13:04:12 +09:00

14 lines
361 B
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { notEquals } from "./not_equals.ts";
import { SemVer } from "./types.ts";
/**
* Not equal comparison
*
* @deprecated (will be removed after 0.213.0) Use {@linkcode notEquals} instead.
*/
export function neq(s0: SemVer, s1: SemVer): boolean {
return notEquals(s0, s1);
}