import { pick } from "https://deno.land/x/rambda@v9.1.0/index.d.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[]