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

x/ts_morph/common/ts_morph_common.d.ts>ComparerToStoredComparer

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class ComparerToStoredComparer
implements StoredComparer<T>
import { ComparerToStoredComparer } from "https://deno.land/x/ts_morph@18.0.0/common/ts_morph_common.d.ts";

Converts a comparer to a stored comparer.

Constructors

new
ComparerToStoredComparer(comparer: Comparer<T>, storedValue: T)

Constructor.

Properties

private
readonly
comparer
private
readonly
storedValue

Methods

compareTo(value: T): number