dropKeys
Deletes the specified keys from the wrapped object
import { obj } from "@tsly/obj";
const person = {
first: "John",
last: "Smith",
age: 23,
state: "NY",
};
const name = obj(person).dropKeys(["age", "state"]).take();
console.log(name); // { "first": "John", "last": "Smith" }
console.log(person); // { "first": "John", "last": "Smith", "age": 23, "state": "NY" }