SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Type Alias Lambda<Args, R>

    Lambda: (...args: Args) => R

    A function value, equivalent to Excel's LAMBDA — the type of a lambda-consuming parameter (BYROW's fn) and of the value LAMBDA itself returns.

    The first type argument is the parameter list as a tuple, the second is the return type:

    • Lambda<[accumulator: Scalar, value: Scalar], Scalar> — a REDUCE/SCAN accumulator.
    • Lambda<[row: IRange], Scalar> — BYROW's one-parameter lambda.
    • Lambda<[rowIndex: number, colIndex: number], Scalar> — MAKEARRAY's builder.
    • Lambda<Scalar[], Scalar> — variadic, when the arity is decided per call (MAP).

    Type Parameters

    • Args extends readonly any[] = Scalar[]

      The parameter tuple. Defaults to variadic scalars.

    • R = Scalar

      The return type. Defaults to Scalar.

    Type Declaration

      • (...args: Args): R
      • Parameters

        Returns R