IGPAPI
Preparing search index...
@igpapi/core
mobile
isChargingOf
Function isChargingOf
isChargingOf
(
device
:
Pick
<
MobileDeviceState
,
"id"
|
"isCharging"
>
)
:
boolean
Whether the device is charging; a device that declares none gets the simulated value.
Parameters
device
:
Pick
<
MobileDeviceState
,
"id"
|
"isCharging"
>
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
IGPAPI
Loading...
Whether the device is charging; a device that declares none gets the simulated value.