Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Compose

Hierarchy

  • Compose

Callable

  • __call<Fx, Gy, FyGx>(g: (x: FyGx) => Gy, f: Tag<Fx, FyGx>): Tag<Fx, Gy>
  • Compose a tag with a function

    Type parameters

    • Fx

    • Gy

    • FyGx

    Parameters

    • g: (x: FyGx) => Gy

      Outer unary function

        • (x: FyGx): Gy
        • Parameters

          • x: FyGx

          Returns Gy

    • f: Tag<Fx, FyGx>

      Inner template literal tag

    Returns Tag<Fx, Gy>

    Template literal tag

Generated using TypeDoc