pick
Updated on August 26, 2024Source code
createPick
is a pipe that transforms an object to an object that picks certain keys from the original.
Create pick
Call createPick
with these parameters to create your pick
function:
Parameter
Type
Required
Description
keys
string[]
Yes
The keys to pick from the object.