Category
Object
Utilities for manipulating objects
pick
Creates an object composed of the picked object properties.
pick<T, K extends keyof T>(obj: T, keys: K[]): Pick<T, K>
omit
Creates an object composed of properties that are not omitted.
omit<T, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>
merge
Recursively merges own and inherited enumerable string keyed properties of source objects into the destination object.
merge<T>(target: T, ...sources: Partial<T>[]): T
clone
Creates a deep clone of value. Supports cloning arrays, objects, Date, RegExp, Map, and Set.
clone<T>(value: T): T