4.17.11
3.10.1
2.4.2
1.3.1

_.over([iteratees=[_.identity]])

Creates a function that invokes iteratees with the arguments it receives and returns their results.

Since

4.0.0

Arguments

argument
[iteratees=[_.identity]]
type
...(Function|Function[])
description
The iteratees to invoke.

Returns

(array)

Example

var func = _.over([Math.max, Math.min]);

func(1, 2, 3, 4);
// => [4, 1]
var func = _.over([Math.max, Math.min]);

func(1, 2, 3, 4);
// => [4, 1]