@s-libs/micro-dash
    Preparing search index...

    Function partial

    • Creates a function that invokes func with partials prepended to the arguments it receives. This function is like bind except it does not alter the this binding.

      Differences from lodash:

      • there is no "placeholder" functionality
      • sets the "length" property of partially applied functions

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 10,767 bytes
      • Micro-dash: 48 bytes

      Type Parameters

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

      Parameters

      • func: F

      Returns F

    • Creates a function that invokes func with partials prepended to the arguments it receives. This function is like bind except it does not alter the this binding.

      Differences from lodash:

      • there is no "placeholder" functionality
      • sets the "length" property of partially applied functions

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 10,767 bytes
      • Micro-dash: 48 bytes

      Type Parameters

      • A1
      • F extends (arg1: A1, ...rest: any) => any

      Parameters

      • func: F
      • arg1: A1

      Returns Drop1Arg<F>

    • Creates a function that invokes func with partials prepended to the arguments it receives. This function is like bind except it does not alter the this binding.

      Differences from lodash:

      • there is no "placeholder" functionality
      • sets the "length" property of partially applied functions

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 10,767 bytes
      • Micro-dash: 48 bytes

      Type Parameters

      • A1
      • A2
      • F extends (...args: [A1, A2, ...any[]]) => any

      Parameters

      Returns Drop2Args<F>

    • Creates a function that invokes func with partials prepended to the arguments it receives. This function is like bind except it does not alter the this binding.

      Differences from lodash:

      • there is no "placeholder" functionality
      • sets the "length" property of partially applied functions

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 10,767 bytes
      • Micro-dash: 48 bytes

      Type Parameters

      • A1
      • A2
      • A3
      • F extends (...args: [A1, A2, A3, ...any[]]) => any

      Parameters

      Returns Drop3Args<F>

    • Creates a function that invokes func with partials prepended to the arguments it receives. This function is like bind except it does not alter the this binding.

      Differences from lodash:

      • there is no "placeholder" functionality
      • sets the "length" property of partially applied functions

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 10,767 bytes
      • Micro-dash: 48 bytes

      Type Parameters

      • A1
      • A2
      • A3
      • A4
      • F extends (...args: [A1, A2, A3, A4, ...any[]]) => any

      Parameters

      Returns Drop4Args<F>

    • Creates a function that invokes func with partials prepended to the arguments it receives. This function is like bind except it does not alter the this binding.

      Differences from lodash:

      • there is no "placeholder" functionality
      • sets the "length" property of partially applied functions

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 10,767 bytes
      • Micro-dash: 48 bytes

      Type Parameters

      • A1
      • A2
      • A3
      • A4
      • F extends (...args: [A1, A2, A3, A4, ...any[]]) => any

      Parameters

      • func: F
      • ...partials: [A1, A2, A3, A4, ...any[]]

      Returns (...args: any[]) => ReturnType<F>