mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
# add dist
This commit is contained in:
28
ng2-components/ng2-alfresco-documentslist/dist/node_modules/lodash/flip.js
generated
vendored
Normal file
28
ng2-components/ng2-alfresco-documentslist/dist/node_modules/lodash/flip.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
var createWrapper = require('./_createWrapper');
|
||||
|
||||
/** Used to compose bitmasks for wrapper metadata. */
|
||||
var 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 function.
|
||||
* @example
|
||||
*
|
||||
* var flipped = _.flip(function() {
|
||||
* return _.toArray(arguments);
|
||||
* });
|
||||
*
|
||||
* flipped('a', 'b', 'c', 'd');
|
||||
* // => ['d', 'c', 'b', 'a']
|
||||
*/
|
||||
function flip(func) {
|
||||
return createWrapper(func, FLIP_FLAG);
|
||||
}
|
||||
|
||||
module.exports = flip;
|
Reference in New Issue
Block a user