Skip to main content
Go to Latest
function comparatorFormat
Deprecated
Deprecated

(will be removed in 0.214.0) Use SemVerRange instead of Comparator and formatRange for formatting it.

import { comparatorFormat } from "https://deno.land/std@0.212.0/semver/mod.ts";

Formats the comparator into a string

Examples

=0.0.0

Returns

string

A string representation of the comparator