import { pick } from "https://deno.land/x/rambda@9.2.1/mod.ts";
It returns a partial copy of an input
containing only propsToPick
properties.
input
can be either an object or an array.
String annotation of propsToPick
is one of the differences between Rambda
and Ramda
.
Parameters
propsToPick: K[]