Preparing search index...
The search index is not available
LISN.js
LISN.js
Utils
isValidDevice
Function isValidDevice
Returns true if the given string is a valid device name.
isValidDevice
(
device
:
string
,
)
:
device
is
"mobile"
|
"mobile-wide"
|
"tablet"
|
"desktop"
Parameters
device
:
string
Returns
device
is
"mobile"
|
"mobile-wide"
|
"tablet"
|
"desktop"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LISN.js
Loading...
Returns true if the given string is a valid device name.