hmFS.SysProGetBool(key)
Get the temporarily stored boolean value, which will be cleared by system reboot.
Type
(key: string) => result
Parameters
key
| Description | Required | Type | Default |
|---|---|---|---|
| key string | yes | string | - |
result
| Description | Type |
|---|---|
| Stored boolean values | boolean |
Usage
const result = hmFS.SysProGetBool('test_key')
console.log(result)