Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deco/utils/object.ts>pickPaths

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable pickPaths
import { pickPaths } from "https://deno.land/x/deco@1.57.30/utils/object.ts";

pick paths based on specified @param paths

type

<T, K extends DotNestedKeys<T>>(obj: T, paths: K[]) => DeepPick<T, K>