Deprecated
(will be removed after 0.200.0) Use parse()
or tryParse()
instead
A compatibility function which checks that a string is a valid semver
import { semver } from "https://deno.land/x/fresh@1.4.1/src/dev/deps.ts";
const { valid } = semver;
Parameters
value: string | SemVer | null
A string which may or may not contain a valid SemVer