matheus-rodrigues00 / utils

✨ Library to commonly used cross-projects utilities methods ✨
17 stars 11 forks source link

Create pick Method At objects.ts #25

Closed matheus-rodrigues00 closed 1 year ago

matheus-rodrigues00 commented 1 year ago

The pick method should create a new object based on selected properties. Method signature:

function pick(source: object, keys: string[]): object {
  // Implement the pick logic here
}

‼️ tests required.

matheus-rodrigues00 commented 1 year ago

Closed by PR: #30