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://dotland.deno.dev/x/ts_morph@19.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