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