Skip to content

Commit

Permalink
fix(values): Fix values for strings
Browse files Browse the repository at this point in the history
  • Loading branch information
WaldoJeffers committed Jul 20, 2019
1 parent 4cd22a5 commit a740cdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/values.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const values = collection => {
switch (type(collection)) {
case 'array':
return collection
case 'string':
case 'object':
return Object.values(collection)
case 'set':
Expand Down

0 comments on commit a740cdd

Please sign in to comment.