mirror of
https://github.com/strapi/strapi.git
synced 2025-07-15 21:11:28 +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,
|
|
};
|