mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			176 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			176 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
'use strict';
 | 
						|
 | 
						|
const _ = require('lodash');
 | 
						|
 | 
						|
const removeUndefined = (obj) => _.pickBy(obj, (value) => typeof value !== 'undefined');
 | 
						|
 | 
						|
module.exports = {
 | 
						|
  removeUndefined,
 | 
						|
};
 |