Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/semver/mod.ts>ANY

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
variable ANY
Re-export
import { ANY } from "https://deno.land/std@0.216.0/semver/mod.ts";

ANY is a sentinel value used by some range calculations. It is not a valid SemVer object and should not be used directly.

Examples

Example 1

import { equals } from "https://deno.land/std@0.216.0/semver/equals.ts";
import { parse } from "https://deno.land/std@0.216.0/semver/parse.ts";
import { ANY } from "https://deno.land/std@0.216.0/semver/constants.ts"
equals(parse("1.2.3"), ANY); // false