Skip to main content

useIsPhone

useIsPhone determines if the current device is a phone based on the screen width

Functions

useIsPhone()

This is the main function exported by this file. It doesn't take any parameters and returns a boolean value indicating whether the current device is a phone.