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

x/ts_morph/common/mod.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@16.0.0/common/mod.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