Module

x/rambda/immutable.d.ts>pickAll

Faster and smaller alternative to Ramda
Latest
function pickAll
import { pickAll } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

Same as R.pick but it won't skip the missing props, i.e. it will assign them to undefined.

Type Parameters

T
K extends keyof T

Parameters

propsToPicks: readonly K[]
input: T

Returns

Pick<T, K>

Parameters

propsToPicks: readonly string[]
input: T

Parameters

propsToPicks: readonly string[]

Returns

<T, U>(input: T) => U

Parameters

propsToPick: string
input: T

Parameters

propsToPick: string

Returns

(input: T) => U