Skip to content

Commit

Permalink
change deviceDetect return type to object
Browse files Browse the repository at this point in the history
deviceDetect returns an object instead of a boolean
  • Loading branch information
GHesericsu authored Mar 22, 2021
1 parent e297dec commit f6d55f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const styles = {
| isLegacyEdge | boolean | returns true if browser is `Edge` |
| isWindows | boolean | returns true/false if os is `Windows` |
| isMacOs | boolean | returns true/false if os is `Mac OS` |
| deviceDetect | boolean | return data object which includes all data about device (e.g version, engine, os etc.) |
| deviceDetect | object | return data object which includes all data about device (e.g version, engine, os etc.) |
| OsTypes | object | return data object with os types |
| BrowserTypes | object | return data object with browser types |
### Views
Expand Down

0 comments on commit f6d55f5

Please sign in to comment.