"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pick = void 0;
function pick(obj, ...keyNames) {
    if (obj == null)
        return obj;
    const result = {};
    for (const key of keyNames) {
        const v = obj[key];
        if (v !== undefined)
            result[key] = obj[key];
    }
    return result;
}
exports.pick = pick;
//# sourceMappingURL=Pick.js.map