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

x/ts_morph/common/mod.ts>StoredComparer

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface StoredComparer
import { type StoredComparer } from "https://deno.land/x/ts_morph@18.0.0/common/mod.ts";

Compares a value against a stored value.

Methods

compareTo(value: T): number

Checks the value against a stored value returning -1 if the stored value preceeds, 0 if the value is equal, and 1 if follows.