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 nullorempty.org #
 
PREVIOUS NEXT
Tagged: #remove #null #object #lodash
ADD COMMENT
Topic
Name
1+3 =