Skip to main content
Go to Latest
variable isSemVerComparator
Deprecated
Deprecated

(will be removed in 0.212.0) Use isComparator instead.

import { isSemVerComparator } from "https://deno.land/std@0.210.0/semver/is_semver_comparator.ts";

Does a deep check on the value to see if it is a valid SemVerComparator object.

Objects with extra fields are still considered valid if they have at least the correct fields.

Adds a type assertion if true.

type

isComparator