function pick(sourceObject, keys) {
  const newObject = {};
  for (const key of keys) {
    if (!(sourceObject === null || sourceObject === void 0 ? void 0 : sourceObject[key]))
      continue;
    newObject[key] = sourceObject[key];
  }
  return newObject;
}

export { pick as p };

//# sourceMappingURL=pick-9b0f2185.js.map