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