export default 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;
}
//# sourceMappingURL=pick.js.map