Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Lambda1<T, R>

Type of lambda expression with single argument

Type parameters

  • T

    Type of income argument

  • R

    Type of outcome result. void type by default.

    let squaringExp: Lambda1<number, number> = (num: number): number => num * num;

Hierarchy

  • Lambda1

Callable

  • __call(arg1: T): R
  • Type of lambda expression with single argument

    Parameters

    • arg1: T

    Returns R

Index

Properties

Properties

Optional name

name: string

Generated using TypeDoc