FLYNNLABAboutMeCodingActivityStudy 2024초등수학
remove falsy value from object in JavaScript using lodash4
2017-08-28
javascript, lodash

remove falsy value

lodash4

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

// {b: 1}

Resource