Skip to main content
Module

x/lodash_es/mod.ts>flip

lodash for deno use
Latest
function flip
import { flip } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

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.