Module

x/ts_morph/common/mod.ts>StoredComparer

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
interface StoredComparer
import { type StoredComparer } from "https://dotland.deno.dev/x/ts_morph@21.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.