4.0.0 • Published 7 years ago

starry.bound v4.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Member of the starry suite—modular functions for iterable objects.

npm node

Status

Applies to the whole suite.

Build Status Coverage Status

Usage

function bound<TObject = any, TArgs = any, TOut = any>(
  fn: (object: TObject, ...args: TArgs[]) => TOut
  ): (this: TObject, ...args: TArgs[]) => TOut

Returns a function that calls the input function with the first argument being the output function's context.

Parameters:

  • fn: (object: TObject, ...args: TArgs[]) => TOut

Returns: (this: TObject, ...args: TArgs[]) => TOut

4.0.0

7 years ago

3.0.0

8 years ago

3.0.0-1

8 years ago

3.0.0-0

8 years ago

2.0.0

8 years ago

2.0.0-0

8 years ago

1.4.1

8 years ago

1.2.1

8 years ago

1.1.1

8 years ago

1.0.0

9 years ago

0.2.0

9 years ago