mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Remove references to _.
This commit is contained in:
5
flip.js
5
flip.js
@@ -7,15 +7,14 @@ const WRAP_FLIP_FLAG = 512;
|
||||
* Creates a function that invokes `func` with arguments reversed.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Function
|
||||
* @param {Function} func The function to flip arguments for.
|
||||
* @returns {Function} Returns the new flipped function.
|
||||
* @example
|
||||
*
|
||||
* var flipped = _.flip(function() {
|
||||
* return _.toArray(arguments);
|
||||
* var flipped = flip(function() {
|
||||
* return toArray(arguments);
|
||||
* });
|
||||
*
|
||||
* flipped('a', 'b', 'c', 'd');
|
||||
|
||||
Reference in New Issue
Block a user