Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BasicFunctor<TArgs, TRetval, TProps>

Defines a Functor (function object) with the property values of type TProps.

deprecated

use BasicFunction<> & BasicObject<> instead

Type parameters

  • TArgs: any[]

    Tuple of argument types that this functor accepts.

  • TRetval

    Type that this functor returns.

  • TProps

    Type of values stored by string keys on this object type.

Hierarchy

Callable

  • __call(...args: TArgs): TRetval
  • Defines a Functor (function object) with the property values of type TProps.

    Parameters

    • Rest ...args: TArgs

    Returns TRetval

Indexable

[key: string]: TProps

Defines a Functor (function object) with the property values of type TProps.

Generated using TypeDoc