Function noop

  • Returns the given input value without making any changes.

    Returns

    The input value.

    Example

    const value = 1;
    const otherValue = noop()(value); // Still 1

    Type Parameters

    • T

      The type of the input value.

    Returns ((input: T) => T)

      • (input: T): T
      • Parameters

        • input: T

        Returns T

Generated using TypeDoc