"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pick = pick;
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;
}
//# sourceMappingURL=Pick.js.map