Skip to main content
Module

x/ramda/mod.ts>pluck

:ram: Practical functional Javascript
Latest
variable pluck
import { pluck } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Returns a new list by plucking the same named property off all objects in the list supplied.

pluck will work on any functor in addition to arrays, as it is equivalent to R.map(R.prop(k), f).