import { pick } from "https://deno.land/x/rambda@9.4.1/rambda.js";
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[]