mirror of
https://github.com/strapi/strapi.git
synced 2025-07-21 07:57:45 +00:00
10 lines
172 B
JavaScript
10 lines
172 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
const _ = require('lodash');
|
||
|
|
||
|
const removeUndefined = obj => _.pickBy(obj, value => typeof value !== 'undefined');
|
||
|
|
||
|
module.exports = {
|
||
|
removeUndefined,
|
||
|
};
|