input-device-handler - v9.0.1
Preparing search index...
isOfInputDeviceType
Function isOfInputDeviceType
isOfInputDeviceType
<
const
DeviceTypeGeneric
extends
InputDeviceType
>
(
inputDevice
:
InputDevice
,
inputType
:
DeviceTypeGeneric
,
)
:
inputDevice
is
DeviceTypeToDeviceTypeObjectMapping
[
DeviceTypeGeneric
]
A type guard for determining if the input device matches the requested device type.
Type Parameters
const
DeviceTypeGeneric
extends
InputDeviceType
Parameters
inputDevice
:
InputDevice
inputType
:
DeviceTypeGeneric
Returns
inputDevice
is
DeviceTypeToDeviceTypeObjectMapping
[
DeviceTypeGeneric
]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
input-device-handler - v9.0.1
Loading...
A type guard for determining if the input device matches the requested device type.