Module

x/lodash_es/src/function.js>flip

lodash for deno use
Latest
function flip
import { flip } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/function.js";

Creates a function that invokes func with arguments reversed.

Examples

var flipped = _.flip(function() { return _.toArray(arguments); });

flipped('a', 'b', 'c', 'd'); // => ['d', 'c', 'b', 'a']

Parameters

func

The function to flip arguments for.