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

x/live/utils/object.ts>pickPaths

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
variable pickPaths
import { pickPaths } from "https://deno.land/x/live@1.102.6/utils/object.ts";

pick paths based on specified @param paths

type

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