import { apply } from "https://deno.land/x/rambda@v9.1.0/immutable.d.ts";
It applies function fn
to the list of arguments.
This is useful for creating a fixed-arity function from a variadic function. fn
should be a bound function if context is significant.
Parameters
fn: (...args: readonly any[]) => T
Parameters
fn: (...args: readonly any[]) => T