diff --git a/docs/adapter.html b/docs/adapter.html index 6fe6e3efb..3f765a68c 100644 --- a/docs/adapter.html +++ b/docs/adapter.html @@ -140,4 +140,4 @@ Object.assig arrayMax([1, 2, 3]); // 3 intermediateunaryCreates a function that accepts up to one argument, ignoring any additional arguments.Call the provided function, fn, with just the first argument given.const unary = fn => val => fn(val); examples['6', '8', '10'].map(unary(parseInt)); // [6, 8, 10] -
Creates a function that accepts up to one argument, ignoring any additional arguments.
Call the provided function, fn, with just the first argument given.
fn
const unary = fn => val => fn(val);
['6', '8', '10'].map(unary(parseInt)); // [6, 8, 10] -