RVC_RULE1 / node_modules /@octokit /endpoint /dist-src /util /remove-undefined-properties.js
David Thomas
updated UI
77731d1
raw
history blame contribute delete
189 Bytes
function removeUndefinedProperties(obj) {
for (const key in obj) {
if (obj[key] === void 0) {
delete obj[key];
}
}
return obj;
}
export {
removeUndefinedProperties
};