import { pick } from "https://dotland.deno.dev/x/rambda@9.4.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[]