Interface INameToFunctionMapper<TValue, TResult>

Map container that lets you register entries where the key is a lookup string and the value is a function. It has a fallback behavior where the user can register one lookup string to use another's function.

interface INameToFunctionMapper<TValue, TResult> {
    get(key): undefined | ((...args) => TResult);
    register(key, fnOrKey): void;
}

Type Parameters

  • TValue
  • TResult

Implemented by

Methods

Methods

Generated using TypeDoc v0.25.12