Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove null from object lodash



_.pickBy({ a: null, b: 1, c: undefined }, _.identity);
>> Object {b: 1}


Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #remove #null #object #lodash
ADD COMMENT
Topic
Name
2+2 =