Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please add function that returns the device type #34

Closed
fhelmi opened this issue Jul 22, 2019 · 1 comment
Closed

please add function that returns the device type #34

fhelmi opened this issue Jul 22, 2019 · 1 comment
Assignees

Comments

@fhelmi
Copy link

fhelmi commented Jul 22, 2019

Instead of returning the object with the value key of the device set to true, please create a function that would just return the device type as a string.

ex: returnDeviceType();

-> 'isMobile' or Mobile of whatever.

@duskload duskload self-assigned this Jul 23, 2019
duskload added a commit that referenced this issue Jul 23, 2019
@duskload
Copy link
Owner

@fhelmi, Done. You can access it by importing deviceType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants