pbeshai / tidy

Tidy up your data with JavaScript, inspired by dplyr and the tidyverse
https://pbeshai.github.io/tidy
MIT License
725 stars 21 forks source link

fix: groupBy works with null values #53

Closed vlandham closed 2 years ago

vlandham commented 2 years ago

The recent change to catch valueOf() in group by breaks if null is provided as a keyed-upon-value. This PR restores the original tidy behavior of allowing groupBy to function with null values.

vlandham commented 2 years ago

isObject() heavily inspired by lodash

pbeshai commented 2 years ago

Published in v2.4.5, thanks!