Sign in
bazel
/
continuous-integration
/
a4d362a00e617f2f99250cf03f5476c52b85d65f
/
.
/
actions
/
bcr-pr-reviewer
/
node_modules
/
@octokit
/
endpoint
/
dist-src
/
util
/
remove-undefined-properties.js
blob: 8653027c8db878c95a4f149c7633acf834247521 [
file
] [
log
] [
blame
]
function
removeUndefinedProperties
(
obj
)
{
for
(
const
key in obj
)
{
if
(
obj
[
key
]
===
void
0
)
{
delete
obj
[
key
];
}
}
return
obj
;
}
export
{
removeUndefinedProperties
};