Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 640 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 640 Bytes

@unction/splat

Tests Stability Dependencies

A => Array => C

Takes a curried function (of n depth) and a list of arguments for that function (of n size) and applies those arguments to that function.

splat((a) => (b) => a + b)([1, 2]) // 3