FuncType - v0.8.85
    Preparing search index...

    Interface Pipe<T>

    Pipe interface for functional data structures

    interface Pipe<T extends Type> {
        pipe<U extends unknown>(f: (value: T) => U): U;
    }

    Type Parameters

    • T extends Type

      The type of value to pipe

    Hierarchy (View Summary)

    Index

    Methods

    Methods

    • Pipes the value through the provided function

      Type Parameters

      • U extends unknown

        The return type of the function

      Parameters

      • f: (value: T) => U

        The function to apply to the value

      Returns U

      The result of applying the function to the value