• The opposite of _.before; this method creates a function that invokes func once it’s called n or more times.

    Type Parameters

    • TFunc extends ((...args: any[]) => any)

    Parameters

    • n: number

      The number of calls before func is invoked.

    • func: TFunc

      The function to restrict.

    Returns TFunc

    Returns the new restricted function.